summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2012-06-11 11:14:58 +0100
committerDavid Cournapeau <cournape@gmail.com>2012-06-13 09:18:52 +0100
commit6fe584f1d2775d96fa68ccb4707ba0f658e85376 (patch)
tree584fabf40a5b52a4b186211a393ef38b574e0f69 /numpy
parent53e49df035a1eea97ac7291638696d9098d9143c (diff)
downloadnumpy-6fe584f1d2775d96fa68ccb4707ba0f658e85376.tar.gz
ENH: use new metadata registration for version and config.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__config__.py.in2
-rw-r--r--numpy/version.py.in11
2 files changed, 7 insertions, 6 deletions
diff --git a/numpy/__config__.py.in b/numpy/__config__.py.in
new file mode 100644
index 000000000..3190d21b4
--- /dev/null
+++ b/numpy/__config__.py.in
@@ -0,0 +1,2 @@
+def show():
+ pass
diff --git a/numpy/version.py.in b/numpy/version.py.in
index ec9380595..e466c1ede 100644
--- a/numpy/version.py.in
+++ b/numpy/version.py.in
@@ -1,9 +1,8 @@
-# THIS FILE IS GENERATED FROM NUMPY BENTO SCRIPTS
-short_version = "$version"
-version = "$version"
-full_version = "$full_version"
-git_revision = "$git_revision"
-release = $is_released
+short_version = $VERSION
+version = $VERSION
+full_version = $FULL_VERSION
+git_revision = $GIT_REVISION
+release = $IS_RELEASED
if not release:
version = full_version