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

2009-03-15 Thread Benny Bach
Benny Bach 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 "

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

2009-03-18 Thread Benny Bach
Benny Bach added the comment: If you have to name the script with a .bat extension it is not portable to other platforms or did I misunderstand something? The point of generating the bat file is to be able to use the same script on all platforms

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

2009-03-18 Thread Benny Bach
Benny Bach added the comment: Ok - I see what you mean. I can't see any problems with it. However generating a separate bat file has the advantage that you can still invoke the original script by calling python explicitly. -- ___ Python tr