Xontrib to automatically (de)activate venvs
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
xontrib Update for keyword events Feb 16, 2017
.gitignore Ignore some PyPA stuff. Jul 20, 2016
LICENSE Probably should have commited this a bit sooner Jul 20, 2016
README.md Update README.md Jun 18, 2018
setup.py Bump version Sep 6, 2016

README.md

xontrib-avox

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 = ["~/code"] and have the project directory ~/code/spam, avox will use the venv name spam.


Installation

Just do a

pip install xontrib-avox

or you can clone the repo with pip

pip install git+https://github.com/astronouth7303/xontrib-avox

Configuration

It's required to configure $PROJECT_DIRS:

$PROJECT_DIRS = ["~/code"]

To automatically load avox at startup, put

xontrib load avox

in your .xonshrc

Avox respects $VIRTUALENV_HOME.