Constants

Contains all the global constants that zoo tools references, this values should never be modified at runtime.

ZOO_CFG_PATH_ENV = 'ZOO_CONFIG_PATH'

Environment variable that sets the location of the config folder

ZOO_PKG_PATH_ENV = 'ZOO_PACKAGES_PATH'

Environment variable that sets the installed packages location.

ZOO_PKG_VERSION_PATH = 'ZOO_PACKAGE_VERSION_PATH'

package environment json environment variable

ZOO_PACKAGE_VERSION_FILE = 'ZOO_PACKAGE_VERSION_FILE'

basename for the package configuration file

CACHE_FOLDER_PATH_ENV = 'ZOO_CACHE_FOLDER_PATH'

cache folder for all zootools temp folders.

CONFIG_FOLDER_NAME = 'config'

Config folder name.

PKG_FOLDER_NAME = 'packages'

Packages folder name.

COMMANDLIBRARY_ENV = 'ZOO_CMD_PATH'

Environment variable which defines the location of CLI commands.

ZOO_DESCRIPTOR_PATH = 'ZOO_DESCRIPTOR_PATH'

environment key which defines the location for all descriptor types

FILE_FILTER_EXCLUDE = ('.gitignore', '.gitmodules', '.flake8.ini', '.hound.yml', 'setup.py', '*.git', '*.vscode', '*__pycache__', '*.idea', 'MANIFEST.ini', '*.pyc', '*.gitlab-ci.yml')

file names to exclude when installing/copying packages

CONFIG_FOLDER_TOKEN = '{config}'

config token which can be used in descriptor paths this will be converted to the abspath

PKG_FOLDER_TOKEN = '{self}'

package folder token for descriptors resolves to each package root

PACKAGE_NAME = 'zoo_package.json'

per package file name

CLI_ROOT_NAME = 'Zootools CLI'

The CLI root argument parser name

ZOO_ADMIN = 'ZOO_ADMIN'

the environment variable for ZOO_ADMIN flag

DEFAULT_PREFS_PATH = '~/zoo_preferences'

default preferences path which will be add to the preference_roots.config on build