From 6fe584f1d2775d96fa68ccb4707ba0f658e85376 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Mon, 11 Jun 2012 11:14:58 +0100 Subject: ENH: use new metadata registration for version and config. --- numpy/__config__.py.in | 2 ++ numpy/version.py.in | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 numpy/__config__.py.in (limited to 'numpy') 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 -- cgit v1.2.1