On Mon, Mar 03, 2008 at 02:26:38PM +0100, Matthias Klose wrote:
The new site.py from python2.4-minimal does not include the Python
include paths in /usr/local.
It does for me (the code is in /etc/python2.4/sitecustomize.py):
$ python
Python 2.4.4 (#2, Mar 3 2008, 01:33:03)
[GCC 4.2.3
If the /usr/local paths cannot go back into site.py, it would be nice
if the default sitecustomize.py would parse and process *.pth files
in order to maintain consistency with version 2.4.4-7 and earlier of
this package.
Attached is a copy of my modified sitecustomize.py that parses the
*.pth
Allen Chan writes:
If the /usr/local paths cannot go back into site.py, it would be nice
if the default sitecustomize.py would parse and process *.pth files
in order to maintain consistency with version 2.4.4-7 and earlier of
this package.
Attached is a copy of my modified
Package: python2.4-minimal
Version: 2.4.4-8
Severity: normal
The new site.py from python2.4-minimal does not include the Python
include paths in /usr/local. The relevant diff between
/etc/python2.4/site.py and /usr/lib/python2.4/site.py:
--- /etc/python2.4/site.py 2007-08-16
Sebastian Rittau writes:
Package: python2.4-minimal
Version: 2.4.4-8
Severity: normal
The new site.py from python2.4-minimal does not include the Python
include paths in /usr/local.
It does for me (the code is in /etc/python2.4/sitecustomize.py):
$ python
Python 2.4.4 (#2, Mar 3 2008,
Although the new /etc/python2.4-sitecustomize.py specifically
inserts /usr/local/lib/python2.4/site-packages into sys.path
before /usr/local/python2.4/site-packages, it does not process any
*.pth files located in /usr/local/lib/python2.4/site-packages.
This breaks some local setups, including
6 matches
Mail list logo