Re: [Distutils] shebang line modified by setuptools

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.
Yes, your luck holds -- as does mine, for now ... but since Barry works for Canonical (besides being Python's new Release Manager), he has a civic responsibility to report Ubuntu Python bugs even if his own system works ... and since that can be quite time-consuming, I can't blame him for trying to recruit some help ... ;)
Steve

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Apr 13, 2008, at 10:45 AM, Stephen Waterbury wrote:
Yes, your luck holds -- as does mine, for now ... but since Barry works for Canonical (besides being Python's new Release Manager), he has a civic responsibility to report Ubuntu Python bugs even if his own system works ... and since that can be quite time-consuming, I can't blame him for trying to recruit some help ... ;)
I should clarify a few things though: I'm not on the Ubuntu release team (I work on Launchpad) and AFAIK Ubuntu simply inherits Debian's policy here. Speaking purely as a user, I think Debian is wrong and I've reported bugs on it, and I think they are open to a compromise that can work for everyone. That's as much as I can do (short of turning off Python's svn notifications and sneaking a change in -- but if I had that power as Python's RM, I'd use it for much more important things[1] :).
- -Barry
[1] http://www.artima.com/weblogs/viewpost.jsp?thread=173477
participants (2)
-
Barry Warsaw
-
Stephen Waterbury