At 10:45 PM 1/13/2011 +0100, Martin v. Löwis wrote:
How is that generated (i.e. what piece of code specifically generates it)?
See setuptools.command.install_scripts.run() - it makes .exe and -script.py/-script.pyw files. It has some hackery to detect bdist_wininst and use a relative #! line in that case, but it doesn't have equivalent hackery for bdist_msi.