summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-11-25 10:52:41 +0100
committerPauli Virtanen <pav@iki.fi>2010-11-25 10:52:41 +0100
commit6d49edca12de7951244c6ed050872c3c40a97add (patch)
tree49c28d1dd68545d1eda84f7781e75b4160f62440 /tools
parentcfd4c05c121e33f0813f6e1523f846a4d7e17ce3 (diff)
downloadnumpy-6d49edca12de7951244c6ed050872c3c40a97add.tar.gz
BUG: Py3: ensure version.py imports are translated appropriately
Diffstat (limited to 'tools')
-rwxr-xr-xtools/py3tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py
index 09fe87442..bb0a66b30 100755
--- a/tools/py3tool.py
+++ b/tools/py3tool.py
@@ -157,7 +157,7 @@ def custom_mangling(filename):
for mod in ['multiarray', 'scalarmath', 'umath', '_sort',
'_compiled_base', 'core', 'lib', 'testing', 'fft',
'polynomial', 'random', 'ma', 'linalg', 'compat',
- 'mtrand', '_dotblas']:
+ 'mtrand', '_dotblas', 'version']:
text = re.sub(r'^(\s*)import %s' % mod,
r'\1from . import %s' % mod,
text, flags=re.M)