|
|
|
|
|
by ProblemFactory
4362 days ago
|
|
Vex seems very convenient, but it is also possible to avoid the "magic" with just standard virtualenv. If you provide the full path to the python binary in the virtualenv, it executes with the virtualenv loaded: /home/acjohnson/virtualenvs/foo/bin/python myscript.py
This is useful for crontabs, system service config, etc. which don't load a regular user's bash setup files. |
|