This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jolleyjoe
Recipients georg.brandl, jolleyjoe
Date 2008-10-03.21:15:07
SpamBayes Score 3.4486573e-05
Marked as misclassified No
Message-id <1223068509.57.0.8948521791.issue4033@psf.upfronthosting.co.za>
In-reply-to
Content
I have an a.pth file in dir_a with a line that says:

dir_b

In dir_b, I have a b.pth file that lists some eggs in dir_b:

JCC-1.9-py2.5-linux-i686.egg
lucene-2.3.2-py2.5-linux-i686.egg

From http://www.python.org/doc/2.5.2/inst/search-path.html:
"Paths can be absolute or relative, in which case they're relative to
the directory containing the .pth file. Any directories added to the
search path will be scanned in turn for .pth files. See site module
documentation for more information."

I assume that .pth files are scanned recursively... is this true?

I found an old ticket here: http://bugs.python.org/issue1431, but it
wasn't clear how it concludes (ie: do .pth files get scanned recursively
for directories to add to the search path or not).
History
Date User Action Args
2008-10-03 21:15:09jolleyjoesetrecipients: + jolleyjoe, georg.brandl
2008-10-03 21:15:09jolleyjoesetmessageid: <1223068509.57.0.8948521791.issue4033@psf.upfronthosting.co.za>
2008-10-03 21:15:08jolleyjoelinkissue4033 messages
2008-10-03 21:15:07jolleyjoecreate