File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
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.74 2004-11-10 22:27:39 richard Exp $
19+ # $Id: setup.py,v 1.75 2004-11-11 06:13:52 richard Exp $
2020
2121from distutils .core import setup , Extension
2222from distutils .util import get_platform
@@ -164,11 +164,11 @@ def copy_scripts(self):
164164 # may be useful for cygwin.
165165 if os .path .splitext (outfile )[1 ] == ".bat" :
166166 file .write ('@echo off\n '
167- 'if NOT "%%_4ver%%" == "" "%(python)s" -O - c "from %(package)s.scripts.%(module)s import run; run()" %%$\n '
168- 'if "%%_4ver%%" == "" "%(python)s" -O - c "from %(package)s.scripts.%(module)s import run; run()" %%*\n '
167+ 'if NOT "%%_4ver%%" == "" "%(python)s" -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n '
168+ 'if "%%_4ver%%" == "" "%(python)s" -c "from %(package)s.scripts.%(module)s import run; run()" %%*\n '
169169 % script_vars )
170170 else :
171- file .write ('#! %(python)s -O \n %(prefix)s'
171+ file .write ('#! %(python)s\n %(prefix)s'
172172 'from %(package)s.scripts.%(module)s import run\n '
173173 'run()\n '
174174 % script_vars )
You can’t perform that action at this time.
0 commit comments