Constants¶
package level constants
- wreck.constants.__all__: tuple[str, str, str, str, str, str, str, str, str] = ("g_app_name", "package_name", "SUFFIX_IN", "SUFFIX_SHARED_IN", "SUFFIX_LOCKED", "SUFFIX_UNLOCKED", "PATH_PIP_COMPILE", "PROG_LOCK", "PROG_UNLOCK")¶
Module exports
- wreck.constants.package_name: str = "wreck"¶
g_app_name –> package_name by replacing underscore with hyphen
- wreck.constants.SUFFIX_SHARED_IN: str = ".shared.in"¶
uncompiled requirements file suffix. Shared between venvs
- wreck.constants.SUFFIX_UNLOCKED: str = ".unlock"¶
Dependency requirements source files, file suffix. Same as used by pip-lock.
requirements
infiles do not set dependency version restrictions unless absolutely unavoidable. In which case, every restriction must be thoroughly documented to defend the justification for imposing such a restriction so know later whether to keep it or not
- wreck.constants.PATH_PIP_COMPILE: pathlib.Path¶
Absolute path to pip-compile within venv
- wreck.constants.PROG_LOCK: re.Pattern¶
Regex compiled Pattern to find [file name].lock files
- wreck.constants.PROG_UNLOCK: re.Pattern¶
Regex compiled Pattern to find [file name].in files