|
|
|
|
|
by acjohnson55
4363 days ago
|
|
Ha. I always thought something was unnecessarily awkward about virtualenv, but I couldn't quite put my finger on it. Virtualenvwrapper was an improvement in many ways, but its lack of portability could be a pain. Reading the docs, Vex makes perfect sense. We should use virtualenv basically the same way we sudo. It's kind of amazing it took this long for someone to do it. Thanks! |
|
If you provide the full path to the python binary in the virtualenv, it executes with the virtualenv loaded:
This is useful for crontabs, system service config, etc. which don't load a regular user's bash setup files.