<div dir="ltr">Hi guys,<div><br></div><div>I made a release of my project today, and now I see there&#39;s something wrong with it.</div><div><br></div><div>When you install it on Windows using the windows binaries (that I made with `bdist_msi` under Python 2.7), the .exe scripts in the &quot;Scripts&quot; folder don&#39;t work. When you launch them, nothing happens. You can launch the associated *-script.pyw files and those *do* work.</div>
<div><br></div><div>I investigated a little and possibly I figured it out. The shebang line says &quot;#!c:\Python27\pythonw.exe&quot;. This is the interpreter with which I *created* the binaries. But why should it be the interpreter with which the *user* works? The user could have &quot;c:\Python26\pythonw.exe&quot; as his interpreter or &quot;c:\Programs\Python25\pythonw.exe&quot; or &quot;g:\Pypy\pypy.exe&quot; as his interpreter.</div>
<div><br></div><div>I tried editing the shebang line with notepad, and this caused the exe files to start working! (Of course this is not a real solution, I can&#39;t ask my users to do that.)</div><div><br></div><div>Is this a bug in distribute?</div>
<div><br></div><div>I&#39;d appreciate if you can reply soon since I already started the release process and I don&#39;t want to confuse users.</div><div><br></div><div><br></div><div>Thanks,</div><div>Ram.<br>
</div></div>