Closed worldmind closed 6 years ago
avox uses vox-managed virtual environments, where the project directory name matches the venv name.
For example, if you've set $PROJECT_DIRS = ["~/code"]
and have the project directory ~/code/spam
, avox will use the venv name spam
.
This is the only policy that will ever be supported by avox, by design. If this is not suitable for you, I heartily support blatently copying the code and making your own project with your own ideas of how projects should map to environments.
@astronouth7303 thanks for explanation, I think this phrase:
For example, if you've set $PROJECT_DIRS = ["~/code"] and have the project directory ~/code/spam, avox will use the venv name spam.
needed to be in README
I am sorry, but I can't understood from readme how avox define which env must be used in concrete dir? For example, I create virtualenv named
django11
via vox, create project directorydjtest
. How say to avox that aftercd
todjtest
is must activatedjango11
env?