[Pythonmac-SIG] How to provide additions to python path such
thatall executions of a given python binary will see them?
Ronald Oussoren
ronaldoussoren at mac.com
Tue Jun 22 10:25:07 EDT 2004
On Friday, June 18, 2004, at 02:55AM, Kenneth McDonald <kenneth.m.mcdonald at sbcglobal.net> wrote:
>Currently, I modify my python path through inclusion of a PYTHONPATH
>variable
>in the .login file. However, I need to add a /local/python/packages
>directory
>to the path in such a manner that all executions of the system python
>binary
>see /local/python/packages. I was just wondering up the best (least
>hacky)
>way of doing this might be.
create /Library/Python/2.3/local.pth containing the line /local/python/packages.
The exact name of the file is not important, as long as it has the suffix '.pth'.
Ronald
>
>Thanks,
>Ken McDonald
>
>
>_______________________________________________
>Pythonmac-SIG maillist - Pythonmac-SIG at python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
More information about the Pythonmac-SIG
mailing list