[Distutils] easy_install adds bad interpreter shebang to installed scripts

Felix Schwarz felix.schwarz at schwarz.eu
Wed Dec 17 22:17:07 CET 2008


Ian Bicking schrieb:
> Does this work?
> 
> #!/usr/bin/env "/path/to/weird path/python"

No (at least not for me). As far as I understand this, no kind of 
quoting or escaping will work on whole shebang line because the kernel 
just splits the string and passes them as arguments to the application. 
No shell is involved there.

fs



More information about the Distutils-SIG mailing list