[Python-Dev] Setting project home path the best way
Nick Coghlan
ncoghlan at gmail.com
Mon Nov 12 01:38:40 CET 2012
The only way I know how to do it is to have my cwd set to the directory I
want on sys.path, then use -m for script execution (using a separate shell
session for anything where I want a different working directory).
I don't know of any way to handle a varying cwd without manipulating the
path directly through either virtualenv or PYTHONPATH.
Cheers,
Nick.
--
Sent from my phone, thus the relative brevity :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121112/06a15458/attachment.html>
More information about the Python-Dev
mailing list