Is there a way for creating the virtualenv folder in a specific directory (i.e., the current directory) using virtualenv / virtualenvwrapper, instead of the default one (i.e., WORKON_HOME
).
Something equivalent to:
$ python -m venv env # this creates the folder `env` in the current path
virtualenv
— yes: just dovirtualenv env
orvirtualenv /path/to/env
– Robynrocvirtualenvwrapper
— no; the entire idea ofvirtualenvwrapper
is to manage virtual environments in a central location. – Robynrocvirtualenvwrapper
– Anlacevirtualenvwrapper
-- yes: you can setWORKON_HOME
to another directory and create the environment there. You can set it back. It's easy to manage with a few bash aliases. – Fosdick