Xontrib for Xonsh that automatically activates and deactivates virtual environments as you cd
around. It's based on the idea of projects and projects living in specific directories.
For example, if you've set $PROJECT_DIRS = [p"~/code"]
and have the project directory ~/code/spam
, avox will use the venv name spam
.
Just do a
pip install xontrib-avox
or you can clone the repo with pip
pip install git+https://github.com/AstraLuma/xontrib-avox
It's required to configure $PROJECT_DIRS
:
$PROJECT_DIRS = ["~/code"]
To automatically load avox at startup, put
xontrib load autovox avox
in your .xonshrc
Avox respects $VIRTUALENV_HOME
.