Package: python2.6 Version: 2.6.6-8+b1 Severity: normal When installing a python module using distutils, if the --prefix option is passed to setup.py the module is installed into an unexpected path.
By default (without the --prefix option), modules are installed into: /usr/local/lib/python2.6/dist-packages/ But if --prefix=/usr is specific the modules are installed into: /usr/lib/python2.6/site-packages/ Which is not in the default module search path. >From reading http://wiki.debian.org/Python#Deviations_from_upstream this looks like this may be deliberate but it seems non-obvious and counter-intuitive to me. And whilst I appreciate that installing in /usr is not something that most users should do, there are cases where it is essential (such as testing that some software release works when installed into /usr). This bug is also present in the python2.7 package. -- System Information: Debian Release: 6.0.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python2.6 depends on: ii libbz2-1.0 1.0.5-6+squeeze1 high-quality block-sorting file co ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [ ii libexpat1 2.0.1-7 XML parsing C library - runtime li ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand ii libreadline6 6.1-3 GNU readline and history libraries ii libsqlite3-0 3.7.3-1 SQLite 3 shared library ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap ii python2.6-minimal 2.6.6-8+b1 A minimal subset of the Python lan python2.6 recommends no packages. Versions of packages python2.6 suggests: ii binutils 2.20.1-16 The GNU assembler, linker and bina pn python2.6-doc <none> (no description available) pn python2.6-profiler <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org