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 02:03:44.000000000 +0200
+++ /usr/lib/python2.4/site.py  2008-03-03 02:16:49.000000000 +0100
 
 def addsitepackages(known_paths):
     """Add site-packages (and possibly site-python) to sys.path"""
-    prefixes = [os.path.join(sys.prefix, "local"), sys.prefix]
+    prefixes = [sys.prefix]
     if sys.exec_prefix != sys.prefix:
-        prefixes.append(os.path.join(sys.exec_prefix, "local"))
+        prefixes.append(sys.exec_prefix)
     for prefix in prefixes:
         if prefix:
             if sys.platform in ('os2emx', 'riscos'):

BTW: What is the difference between these two files? It seems that
/etc/python2.4/site.py is not used?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.4-minimal depends on:
ii  libc6                  2.7-9             GNU C Library: Shared libraries
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

python2.4-minimal recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to