Excerpts from Brian Harring's message of Fri Dec 18 20:16:19 +0000 2009: > On Tue, Dec 15, 2009 at 03:54:53PM +0700, Max Arnold wrote: > > Initially my script has "/usr/bin/env python" shebang line. When I checked > > actual installed > > file, it contained "/usr/bin/python2.6". Who is responsible for this > > modification (eclass, > > distutils or something else)? Why not "/usr/bin/env python2.6"? > > distutils. If you find a knob to disable that, I'd be interested... > ~brian
There isn't a trigger to change this behaviour [currently]. You can monkey patch it quite easily though, if you're willing. Something like the following pasted in to the setup.py does the trick. import re from distutils.command import build_scripts build_scripts.first_line_re = re.compile("^never gonna match you up$") -- Thanks, James
signature.asc
Description: PGP signature