[Python-Dev] How to change path at compile time? (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Jan 12 22:41:51 CET 2008


Is there any reasonable way to change the default sys.path at compile time? (ie. add a directory).

[this is off-topic for python-dev]

Edit PYTHONPATH in Modules/Setup, e.g. by setting SITEPATH.

Regards, Martin



More information about the Python-Dev mailing list