[Scipy-svn] r6749 - trunk/tools

scipy-svn@scip... scipy-svn@scip...
Sat Sep 11 19:58:00 CDT 2010


Author: ptvirtan
Date: 2010-09-11 19:58:00 -0500 (Sat, 11 Sep 2010)
New Revision: 6749

Modified:
   trunk/tools/py3tool.py
Log:
ENH: 3K: optionally use lib2to3cache in the 2to3 conversion

Modified: trunk/tools/py3tool.py
===================================================================
--- trunk/tools/py3tool.py	2010-09-12 00:57:47 UTC (rev 6748)
+++ trunk/tools/py3tool.py	2010-09-12 00:58:00 UTC (rev 6749)
@@ -26,6 +26,9 @@
 import subprocess
 import fnmatch
 
+if os.environ.get('USE_2TO3CACHE'):
+    import lib2to3cache
+
 BASE = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
 TEMP = os.path.normpath(os.path.join(BASE, '_py3k'))
 



More information about the Scipy-svn mailing list