[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minion-cvs] Fix a bug in wrapper script when installing without exp...
Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv21322
Modified Files:
setup.py
Log Message:
Fix a bug in wrapper script when installing without explicit PREFIX.
Index: setup.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/setup.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- setup.py 6 Jan 2003 04:59:04 -0000 1.26
+++ setup.py 6 Jan 2003 05:22:37 -0000 1.27
@@ -111,8 +111,9 @@
os.mkdir("build")
f = open(SCRIPT_PATH, 'wt')
f.write("#!%s -O\n"% sys.executable)
+f.write("import sys\n")
if pathextra:
- f.write("import sys\nsys.path[0:0] = [%r]\n"%pathextra)
+ f.write("sys.path[0:0] = [%r]\n"%pathextra)
f.write("""\
try:
import mixminion.Main