[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minion-cvs] Disable -O mode while in alpha: we want our asserts
Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv8571
Modified Files:
setup.py
Log Message:
Disable -O mode while in alpha: we want our asserts
Index: setup.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/setup.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- setup.py 8 Jan 2003 07:53:24 -0000 1.36
+++ setup.py 9 Jan 2003 05:50:44 -0000 1.37
@@ -114,7 +114,8 @@
f = open(SCRIPT_PATH, 'wt')
# 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("#!python -O\n") #disable -O for asserts.
+f.write("#!python\n")
f.write("import sys\n")
if pathextra:
f.write("sys.path[0:0] = [%r]\n"%pathextra)