Configuration¶
Environment Variables¶
VIV_RUN_MODE- ephemeral (default):
viv runwill generate a temporary directory that is removed following execution
- semi-ephemeral
viv runwill set theVIV_CACHEdirectory to$TEMPDIR/viv-ephemeral-cache-$USER
- persist
viv runwill always use the standardVIV_CACHEwhich maximizes reusable vivenvs
VIV_CACHEPath to use for vivenv cache by default
$XDG_CACHE_HOME/vivor$HOME/.cache/vivVIV_LOG_PATHPath to use for log file by default
$XDG_DATA_HOME/viv/viv.logor$HOME/.local/share/viv/viv.logVIV_BIN_DIRPath to use for shims by default
$HOME/.local/binVIV_NO_SETUPTOOLSDon’t add setuptools to generated vivenvs.
Many legacy packages expect setuptools to be available and don’t appropriately declare it as a dependency. To minimize frustration
setuptoolsis added to every dependency list.VIV_FORCERemove existence check and recreate vivenv
VIV_SPECSpace separated list of dependencies in addition to those in script
VIV_VERBOSEShow
pipoutput in real timeVIV_DEBUGSet log level to
DEBUGFORCE_COLORForce output to use ANSI escape codes
NO_COLORRemove all ANSI escape codes from output