diff setup.py @ 1287:5402a6f2a754

Added quotes around python interpreter in windows bat [SF#623963] Fixed link at end of installation doc [SF#623957]
author Richard Jones <richard@users.sourceforge.net>
date Thu, 17 Oct 2002 00:22:16 +0000
parents 2add60346bf7
children 3758a5af985f
line wrap: on
line diff
--- a/setup.py	Wed Oct 16 06:55:17 2002 +0000
+++ b/setup.py	Thu Oct 17 00:22:16 2002 +0000
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: setup.py,v 1.39 2002-09-23 08:17:50 richard Exp $
+# $Id: setup.py,v 1.40 2002-10-17 00:22:16 richard Exp $
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
@@ -85,8 +85,8 @@
             try:
                 if sys.platform == "win32":
                     file.write('@echo off\n'
-                        'if NOT "%%_4ver%%" == "" %(python)s -O -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n'
-                        'if     "%%_4ver%%" == "" %(python)s -O -c "from %(package)s.scripts.%(module)s import run; run()" %%*\n'
+                        'if NOT "%%_4ver%%" == "" "%(python)s" -O -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n'
+                        'if     "%%_4ver%%" == "" "%(python)s" -O -c "from %(package)s.scripts.%(module)s import run; run()" %%*\n'
                         % script_vars)
                 else:
                     file.write('#! %(python)s -O\n'

Roundup Issue Tracker: http://roundup-tracker.org/