.pth files question
Michael Hoffman
cam.ac.uk at mh391.invalid
Fri Sep 2 11:26:54 EDT 2005
Benjamin Rutt wrote:
> Am I correct in understanding that:
>
> 1) foo.pth will be used if it is in the directory
> /usr/lib/python-2.4/site-packages
>
> 2) foo.pth will not be read from if it is only placed somewhere in the
> PYTHONPATH environment, such as foo.pth exists as the file
> /tmp/bar/foo.pth, where PYTHONPATH contains "/tmp/bar"?
Yes. All this is done by the site module.
--
Michael Hoffman
More information about the Python-list
mailing list