[issue1431] pth files not loaded at startup

Giambattista Bloisi report at bugs.python.org
Fri Nov 16 00:16:49 CET 2007


Giambattista Bloisi added the comment:

Please find attached a patch for
http://docs.python.org/dev/install/index.html.
I think removing a statement is enough to make things clear.
About darwin additional directories I'm unsure whether it need further
documentation as it seems very platform-related.
This is the comment I found in site.py
# for framework builds *only* we add the standard Apple
# locations. Currently only per-user, but /Library and
# /Network/Library could be added too


Eventually I used this command in pth file to extend the scanned
directories:
"import site;
site.addsitedir('/System/Links/Libraries/python2.5/site-packages/', set())"

I think this is more maintainable and clear than changing site.py, but I
don't think it will be forward compatible.

Added file: http://bugs.python.org/file8760/index.txt.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1431>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index.txt.patch
Type: application/octet-stream
Size: 734 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071115/a2b25baf/attachment.obj 


More information about the Python-bugs-list mailing list