[Distutils] [issue131] Shebang for gui_scripts on Windows is not changed to pythonw
Florian
setuptools at bugs.python.org
Thu Aug 4 12:56:19 CEST 2011
New submission from Florian <florian.dorn at gmail.com>:
When creating a wininst, get_script_header alwasy sets the executabe to "python.exe".
Thus, in get_script_args() the code to check if the header should actually be changed should be updated to:
if os.path.exists(new_header[2:-1]) or wininst or sys.platform!='win32':
hdr = new_header
else:
hdr = header
----------
messages: 630
nosy: flocki
priority: bug
status: unread
title: Shebang for gui_scripts on Windows is not changed to pythonw
_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue131>
_______________________________________________
More information about the Distutils-SIG
mailing list