[Distutils] .exe for script in Windows doesn't work

P.J. Eby pje at telecommunity.com
Fri Jan 14 05:23:28 CET 2011


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.



More information about the Distutils-SIG mailing list