diff options
author | Scott Sinclair <scott.sinclair.za@gmail.com> | 2010-11-09 17:09:15 +0200 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-11-10 07:49:48 -0700 |
commit | 58e63603e6eef1e3710a0ddae938b25ffb7c3bce (patch) | |
tree | 81031b0d9dfcc0db5970bcd765f02d4c42d1e66b /numpy/__init__.py | |
parent | 8adfc76a1b6f772f3fd81b28d6696a7dbcd4ab8b (diff) | |
download | numpy-58e63603e6eef1e3710a0ddae938b25ffb7c3bce.tar.gz |
ENH: Add Git revision hash to numpy dev version string
- Appends the first 6 characters of the Git revision used to build
Numpy
- Adds an additional attribute to easily obtain the full Git revision
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index 8247f4c7a..f2ffdf92c 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -125,6 +125,7 @@ else: its source directory; please exit the numpy source tree, and relaunch your python intepreter from there.""" raise ImportError(msg) + from version import git_revision as __git_revision__ from version import version as __version__ from _import_tools import PackageLoader |