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

On Apr 13, 2008, at 5:50 AM, Gael Varoquaux wrote:
> On Sat, Apr 12, 2008 at 09:41:08PM -0400, Stephen Waterbury wrote:
>>> These are all broken and you should report bugs on them.  I have
>>> reported many for Ubuntu.  A system application should only ever
>>> depend on the system Python (or interpreter), never on the whims of
>>> your $PATH.
>
>> I agree with Barry here -- I would even go further and say that
>> the Python used by system apps (i.e., apps that the OS depends on)
>> should be separate and should not be on the default PATH (so the user
>> can't use it accidentally), and no non-system apps should use the
>> system Python unless specifically installed by the user or sysadmin
>> into the system Python's area.
>
> I agree with you, and not with Barry that all these are broken. If you
> look at the apps that use "#!/usr/bin/env", they are all pretty
> non-system apps, like for instance "f2py". I think it is good that  
> these
> apps use the default python: I don't want to have f2py to be running  
> for
> another python than my default one. I am actually quite surprised to  
> see
> that ipython is installed with a hardcoded path to /usr/bin/python.
>
> Anyway, I am not going to bug report anything, as my system works just
> fine, thank you.

I'm not sure how you can disagree with me and not with Steve since he  
and I agree the system apps are broken. ;)  Oh well, doesn't matter.

Steve has a very interesting idea though, and it makes sense to me.   
I'm not sure where in the FHS you'd put that, but it makes sense for  
Python-written system apps to use the hidden Python and for /usr/bin/ 
python to be one that users can play with.

- -Barry

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

iQCVAwUBSAH3jHEjvBPtnXfVAQKIJAP/WWE6i1pjpFJU3Z0mT3AiYeIKZjTfVXjV
jC0DAgGj9AWS9TS1eGYWntb65C3ibZK2vsFjkr4Zg32yx1Dl2qvOfQ3yPD5+z7k5
pLP+LfP1U80HDl2poPRJCetnwV/F29IJpEHgNnWZboqrRrPxJlD3WI8L9D4gECP5
I19vl6e/IVo=
=3/Pm
-----END PGP SIGNATURE-----
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to