[Python-Dev] [Pydotorg] Should we help pythonmac.org?

Barry Warsaw barry at python.org
Tue Aug 19 15:37:08 CEST 2008


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

On Aug 19, 2008, at 8:51 AM, Fred Drake wrote:

> My understanding is that if there is a system Python, you shouldn't  
> change it.  Ever.

Huge, big, honkin' +1 from me on that.  Besides, for a system Python,  
you want your distribution to manage packages, not setuptools,  
otherwise you confuse -- and probably break -- your system.

As a corollary, a system Python script should never ever use #!/usr/ 
bin/env python as its first line.  It should always use /usr/bin/ 
python because that's the only thing it can guarantee it knows  
anything about.

I've had several discussions with distro vendors about this, some at  
Pycon and others I'm more intimately involved with <wink>.  I think  
there's general agreement about these principles, even if it's not  
always implemented correctly for every tool (but that's what bug  
reports are for :).

- -Barry

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

iQCVAwUBSKrMhXEjvBPtnXfVAQKprwQAsuckU4jw5B+asnd6XNqCjuOuIDYRuv3w
sOlfn76qwoxaA9KJe7aCBOcoXpUnB4ibEm8O403LYV9izRXf62xgGdyVWTS73yEc
Sj6maoeIIO9ph7/p7eWT0Hl3pVmphsiLRgd7usyDSeRf+8ncXmE8Clr7i1vZ1rn+
fkFznLm7Kb0=
=xHHt
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list