From 58e63603e6eef1e3710a0ddae938b25ffb7c3bce Mon Sep 17 00:00:00 2001 From: Scott Sinclair Date: Tue, 9 Nov 2010 17:09:15 +0200 Subject: 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 --- numpy/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/__init__.py') 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 -- cgit v1.2.1