/usr/local/lib/python/sitecustomize.py broken due to overriding sitecustomize in /etc
Bug #197219 reported by
Carey Underwood
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diveintopython (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
python2.5 (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
python2.6 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
sitecustomize.py files have been added to /etc/python2.5/ nad /usr/lib/python2.5/ in hardy, which breaks the use of /usr/local/
My impression has always been that sitecustomize.py is to be reserved for the user (i.e., it's the python equivilent of debian's /usr/local/, thou shalt not touch it).
site.py already allows for distribution specific additions; if they are to be placed outside site.py, then they should be placed in a third file such that the import of sitecustomize.py still proceeds as expected by the user.
Changed in python2.6: | |
status: | New → Confirmed |
To post a comment you must log in.
Actually, it looks like /usr/local/ isn't even being looked at for pythonpath anymore.