-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote:
>
> I used to always set up my own Python[s] in /usr/local
> and put that first in my PATH, but I have gotten lazy lately, and
> sometimes it will bite me. ;)

On Debian and derivatives (e.g. Ubuntu) you might have even more fun.   
They put /usr/local/lib/pythonX.Y/site-packages on the sys.path *of  
the system python*!  This means that you can break your system Python  
by installing a version of Python from source and then distutil'ing  
things into there.  Astoundingly, this is promoted as a feature.

I've reported bugs on this and had discussions with some of the Debian  
Python packaging folks.  I'm hoping that we'll find a solution that  
doesn't collide with a from-source default Python build.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iQCVAwUBSAH1mnEjvBPtnXfVAQJAvAP/S1p03Jlq73fZB4H6Qt7cH/qXpInQ4G7i
VDMdH0yxZ3Fih8LG/eFcvpu0YCI7iHWtct+h2GXA/gUVPlgWxwJDE2Ahixg9MNS3
faETU1DNqJb4oUbwjZD/FzwLCGRXp/17s4+Q2JX4YaOvShsVeS+F3Kr+3zwfDL0m
hrMRfaJTYSE=
=a8MZ
-----END PGP SIGNATURE-----
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to