[issue4015] [patch] make installed scripts executable on windows

Benny Bach report at bugs.python.org
Sun Mar 15 10:38:45 CET 2009


Benny Bach <benny.bach at gmail.com> added the comment:

I think this should be the default. I am a rookie in python, setup.py in
particular, but I cannot see how you can write portable setup scripts
without this.

I agree that the batch script can be improved. Here is how ruby gems do it:

@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"ruby.exe" "C:/ruby/bin/fd" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"ruby.exe" "%~dpn0" %*

----------
nosy: +bebac

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4015>
_______________________________________


More information about the Python-bugs-list mailing list