Gred Ward, who suddenly reappears: > On 02 March 2001, Guido van Rossum said: > > This could become a standard distutils feature! > > It is -- if a script is listed in 'scripts' in setup.py, and it's a Python > script, its #! line is automatically munged to point to the python that's > running the setup script. > What about this code in build_scripts.py? # check if Python is called on the first line with this expression. # This expression will leave lines using /usr/bin/env alone; presumably # the script author knew what they were doing...) first_line_re = re.compile(r'^#!(?!\s*/usr/bin/env\b).*python(\s+.*)?') Doesn't this mean that #!/usr/bin/env python lines are NOT fixed? Thomas
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4