[Build-common-hackers] Bug#587240: Bug#587240: python installs to site-packages but with 2.6 they are not in sys.path

Jonas Smedegaard dr at jones.dk
Sat Jun 26 15:04:43 UTC 2010

Hi Steffen,

On Sat, Jun 26, 2010 at 04:39:47PM +0200, Steffen Moeller wrote:
>I am browsing documentation and source and it seems like
>is somewhat stuck with python 2.5 where the site-packages
>are part of the system path. With 2.6 this is no longer the
>case but I want my python packages to be visible for all
>without the need to
>export PYTHONPATH=/usr/lib/python2.6/site-packages

Could you provide a packaging code sample which demonstrates actual 

In my experience (without claiming that I know what is really going on) 
python-distutils.mk does the right thing with both Python 2.5 and 2.6, 
and only the documentation is outdated.

Kind regards,

  - Jonas

  * Jonas Smedegaard - idealist & Internet-arkitekt
  * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20100626/6fc46b3e/attachment.pgp>

More information about the Build-common-hackers mailing list