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

cool-RR cool-rr at cool-rr.com
Mon Feb 14 14:47:07 CET 2011


On Fri, Jan 14, 2011 at 3:01 AM, P.J. Eby <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 -
> 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:

https://bitbucket.org/tarek/distribute/src/4ab9b96dc540/setuptools/command/install_scripts.py#cl-34

<https://bitbucket.org/tarek/distribute/src/4ab9b96dc540/setuptools/command/install_scripts.py#cl-34>To
detect bdist_msi as well?


Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20110214/4cdae93a/attachment.html>


More information about the Distutils-SIG mailing list