New submission from Florian <[email protected]>:

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 <[email protected]>
<http://bugs.python.org/setuptools/issue131>
_______________________________________________
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to