[Zope-Coders] .pth ignored

Andreas Jung lists at andreas-jung.com
Sat Oct 30 04:44:50 EDT 2004


Hi,

I reorganized the 'docutils' package (it moved from lib/python to 
lib/python/third_party/docutils).
Because of the change I had to add some more paths to PYTHONPATH in 
runzope/zopectl which works
but is somewhat ugly. I tried to get around is by placing  a 
third_party.pth file in lib/python to contain
additional paths to be added automatically. However Python seems to ignore 
the file. In fact a run
with strace shows that Python ignores all .pth files for unknown reasons. 
Anything I am missing?

Andreas


More information about the Zope-Coders mailing list