[Distutils] easy_install adds bad interpreter shebang to installed scripts
Ian Bicking
ianb at colorstudy.com
Fri Dec 19 08:33:55 CET 2008
Tres Seaver wrote:
> I would way rather see that kind of solution than using 'env': scripts
> installed by easy_install should *not* use whatever python happens to be
> found at the moment on PATH.
I agree that's necessary, but I don't think anyone has been proposing
that (well, except the initial proposal). I'm guessing the script in
this case could look like:
#!/bin/sh
exec "path/to/python" -c "everything that would normally be in the body
of the script"
--
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list