Author: justi9
Date: 2009-08-17 14:49:06 -0400 (Mon, 17 Aug 2009)
New Revision: 3582
Removed:
mgmt/trunk/bin/python-compile
Modified:
mgmt/trunk/cumin/Makefile
mgmt/trunk/mint/Makefile
Log:
Use the module interface instead of a wrapper script
Deleted: mgmt/trunk/bin/python-compile
===================================================================
--- mgmt/trunk/bin/python-compile 2009-08-14 20:05:40 UTC (rev 3581)
+++ mgmt/trunk/bin/python-compile 2009-08-17 18:49:06 UTC (rev 3582)
@@ -1,9 +0,0 @@
-#!/usr/bin/env python
-
-import sys, compileall, re
-
-if len(sys.argv) < 2:
- print "Usage: %s PATH" % sys.argv[0]
- sys.exit(1)
-
-compileall.compile_dir(sys.argv[1], rx=re.compile("/\.svn"), force=True)
Modified: mgmt/trunk/cumin/Makefile
===================================================================
--- mgmt/trunk/cumin/Makefile 2009-08-14 20:05:40 UTC (rev 3581)
+++ mgmt/trunk/cumin/Makefile 2009-08-17 18:49:06 UTC (rev 3582)
@@ -10,7 +10,7 @@
share := ${SHARE_DIR}/${name}
build:
- ../bin/python-compile python
+ python -m compileall -x '/\.svn' -f python
install: build
install -d ${lib}
Modified: mgmt/trunk/mint/Makefile
===================================================================
--- mgmt/trunk/mint/Makefile 2009-08-14 20:05:40 UTC (rev 3581)
+++ mgmt/trunk/mint/Makefile 2009-08-17 18:49:06 UTC (rev 3582)
@@ -10,7 +10,7 @@
share := ${SHARE_DIR}/${name}
build:
- ../bin/python-compile python
+ python -m compileall -x '/\.svn' -f python
install: build
install -d ${lib}
Show replies by date