Message48114
Logged In: YES
user_id=139309
If you read closer, it only scans directories added by .pth files, not all
directories on sys.path. This is to facilitate better encapsulation, so an
admin user can create a .pth file that says "~/lib/python2.4/site-
packages" and any user that starts Python will have their own site-
packages dir, where .pth files work, without resorting to PYTHONPATH.
This way you can use distutils to install packages into your homedir,
and they will actually work as expected.
PYTHONPATH is utterly disastrous if you regularly deal with several
different Python interpreters. |
|
Date |
User |
Action |
Args |
2007-08-23 15:42:32 | admin | link | issue1174614 messages |
2007-08-23 15:42:32 | admin | create | |
|