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.38 2002-09-10 01:07:05 richard Exp $
19+ # $Id: setup.py,v 1.39 2002-09-23 08:17:50 richard Exp $
2020
2121from distutils .core import setup , Extension
2222from distutils .util import get_platform
@@ -85,11 +85,11 @@ def copy_scripts(self):
8585 try :
8686 if sys .platform == "win32" :
8787 file .write ('@echo off\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 '
88+ 'if NOT "%%_4ver%%" == "" %(python)s -O - c "from %(package)s.scripts.%(module)s import run; run()" %%$\n '
89+ 'if "%%_4ver%%" == "" %(python)s -O - c "from %(package)s.scripts.%(module)s import run; run()" %%*\n '
9090 % script_vars )
9191 else :
92- file .write ('#! %(python)s\n '
92+ file .write ('#! %(python)s -O \n '
9393 'from %(package)s.scripts.%(module)s import run\n '
9494 'run()\n '
9595 % script_vars )
You can’t perform that action at this time.
0 commit comments