A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-March/013379.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Tools/scripts pydoc,NONE,1.1

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Tools/scripts pydoc,NONE,1.1Thomas Heller thomas.heller@ion-tof.com
Fri, 2 Mar 2001 17:38:04 +0100
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