[Distutils] shebang line modified by setuptools
Phillip J. Eby
pje at telecommunity.com
Sun Apr 13 01:54:19 CEST 2008
At 03:26 PM 4/12/2008 -0700, Cliff Wells wrote:
>On Sat, 2008-04-12 at 17:53 -0400, Phillip J. Eby wrote:
> > At 12:30 PM 4/12/2008 -0700, Cliff Wells wrote:
> > >PATH is *supposed* to affect applications.
> >
> > It affects which application you should run, not which interpreter
> > you run the application with.
>
>I think that's splitting hairs and pretty much just made up to defend
>your position.
Anybody who thinks they can globally change which Python interpreter
they're running their scripts with is cruising for a serious
bruising. Better they discover their error sooner than later.
Have you ever wondered why Red Hat has that stupid 'python2'
executable? It's because they used #! lines pointing to 'python'
rather than referencing a specific *version* of Python... and had to
pay for it for years thereafter.
(That's also, by the way, why easy_install also always installs a
versioned executable name for itself.)
More information about the Distutils-SIG
mailing list