File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: setup.py,v 1.31 2002-03-22 18:36:00 jhermann Exp $
19+ # $Id: setup.py,v 1.32 2002-03-27 23:47:58 jhermann Exp $
2020
2121from distutils .core import setup , Extension
2222from distutils .util import get_platform
@@ -85,7 +85,8 @@ def copy_scripts(self):
8585 try :
8686 if sys .platform == "win32" :
8787 file .write ('@echo off\n '
88- '%(python)s -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n '
88+ 'if NOT "%%_4ver%%" == "" %(python)s -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n '
89+ 'if "%%_4ver%%" == "" %(python)s -c "from %(package)s.scripts.%(module)s import run; run()" %%*\n '
8990 % script_vars )
9091 else :
9192 file .write ('#! %(python)s\n '
@@ -172,6 +173,9 @@ def isTemplateDir(dir):
172173
173174#
174175# $Log: not supported by cvs2svn $
176+ # Revision 1.31 2002/03/22 18:36:00 jhermann
177+ # chmod +x for scripts
178+ #
175179# Revision 1.30 2002/01/29 20:07:15 jhermann
176180# Conversion to generated script stubs
177181#
You can’t perform that action at this time.
0 commit comments