diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-07-18 14:22:10 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-07-18 14:22:10 +0000 |
commit | 73b8b54cdf0057850cefc3b2cb0be4fad8e70fb8 (patch) | |
tree | 3cd024beb7295aacd1913d084f2ec43440c90e28 /tools/py3tool.py | |
parent | 943bae6ce7e587e6fdac4bcd336f607fdc729437 (diff) | |
download | numpy-73b8b54cdf0057850cefc3b2cb0be4fad8e70fb8.tar.gz |
ENH: 3K: optionally use lib2to3cache in 2to3 conversion
Diffstat (limited to 'tools/py3tool.py')
-rwxr-xr-x | tools/py3tool.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py index 7327932c4..5d10f9591 100755 --- a/tools/py3tool.py +++ b/tools/py3tool.py @@ -26,6 +26,9 @@ import re 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')) |