3 ms·
You run `virtualenv .` in your project folder and it will setup a virtual environment. To enter the virtual environment run `source bin/activate`
by speg 14y ago
You run `virtualenv .` in your project folder and it will
setup a virtual environment. To enter the virtual
environment run `source bin/activate`. I don’t know about
you, but I hate to see bin/ lib/ and other folders in my
project directory, so I made a wrapper around virtualenv
in my ZSH scripts.
Why not just make the virtualenv elsewhere (I use ~/virtualenvs/)?
Also, how about django-extensions? I don't know what I'd do without runserver_plus and shell_plus.
- oellegaard 14y agoSimply because I like the project and virtualenvs to be attached. I used to work with many different customer sites and I would delete them once I did not have to work on them anymore. In this way, I would also automatically remove the virtualenvs from these projects.