3 ms·
http://docs.python.org/distutils/setupscript.html#installing-scripts http://docs.python.org/distutils/setupscript.html#installing... "The only clever feature i
by brodie 17y ago
http://docs.python.org/distutils/setupscript.html#installing-scripts http://docs.python.org/distutils/setupscript.html#installing...
"The only clever feature is that if the first line of the script starts with #! and contains the word “python”, the Distutils will adjust the first line to refer to the current interpreter location. By default, it is replaced with the current interpreter location. The --executable (or -e) option will allow the interpreter path to be explicitly overridden."