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

P.J. Eby pje at telecommunity.com
Mon Feb 14 16:32:46 CET 2011

At 03:47 PM 2/14/2011 +0200, cool-RR wrote:
>On Fri, Jan 14, 2011 at 3:01 AM, P.J. Eby 
><<mailto:pje at telecommunity.com>pje at telecommunity.com> wrote:
>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 
>-<http://script.py/-script.pyw>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.
>P.J., do you think it will suffice to patch Distribute here:
>To detect bdist_msi as well?

No.  If it were that simple, I'd already have done it.

More information about the Distutils-SIG mailing list