diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-04 20:08:04 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-04 20:08:04 +0000 |
commit | 7ff852162596a8eaa02ef87730474285b080d594 (patch) | |
tree | fc7182f69e3ffc3ab038e49a6996d54032124ca7 /numpy/version.py | |
parent | af08f349934b2ddd037bf45f68c48210d84b455d (diff) | |
download | numpy-7ff852162596a8eaa02ef87730474285b080d594.tar.gz |
More numpy fixes...
Diffstat (limited to 'numpy/version.py')
-rw-r--r-- | numpy/version.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/version.py b/numpy/version.py new file mode 100644 index 000000000..1a9c06b52 --- /dev/null +++ b/numpy/version.py @@ -0,0 +1,12 @@ +version='0.9.2' + +import os +svn_version_file = os.path.join(os.path.dirname(__file__), + 'base','__svn_version__.py') +if os.path.isfile(svn_version_file): + import imp + svn = imp.load_module('numpy.base.__svn_version__', + open(svn_version_file), + svn_version_file, + ('.py','U',1)) + version += '.'+svn.version |