[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Fix nasty bug in setup.py



Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv9780

Modified Files:
	setup.py 
Log Message:
Fix nasty bug in setup.py

Index: setup.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/setup.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- setup.py	6 Jan 2003 05:22:37 -0000	1.27
+++ setup.py	6 Jan 2003 12:18:45 -0000	1.28
@@ -110,7 +110,9 @@
 if not os.path.exists("build"):
     os.mkdir("build")
 f = open(SCRIPT_PATH, 'wt')
-f.write("#!%s -O\n"% sys.executable)
+# Distutils will take care of the executable path, and actually gets angry
+# if we try to be smart on our own. *sigh*.
+f.write("#!python -O\n")    
 f.write("import sys\n")
 if pathextra:
     f.write("sys.path[0:0] = [%r]\n"%pathextra)