New submission from Florian :
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
http://bugs.python.org/setuptools/issue131
_______________________________________________