[Numpy-svn] r8502 - trunk/tools

numpy-svn at scipy.org numpy-svn at scipy.org
Sun Jul 18 10:22:10 EDT 2010


Author: ptvirtan
Date: 2010-07-18 09:22:10 -0500 (Sun, 18 Jul 2010)
New Revision: 8502

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

Modified: trunk/tools/py3tool.py
===================================================================
--- trunk/tools/py3tool.py	2010-07-18 13:24:52 UTC (rev 8501)
+++ trunk/tools/py3tool.py	2010-07-18 14:22:10 UTC (rev 8502)
@@ -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 Numpy-svn mailing list