[h5py] 05/38: Revert "use hardcoded version string instead of module import"

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:21:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository h5py.

commit 7842b2ac34dace3756c14759f0f2b5b854317e7a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Apr 14 20:58:31 2015 +0100

    Revert "use hardcoded version string instead of module import"
    
    This reverts commit b64811a69198c2201b2bb060fca28b39fac25a16.
---
 docs_api/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs_api/conf.py b/docs_api/conf.py
index 8fceb60..6153c6d 100644
--- a/docs_api/conf.py
+++ b/docs_api/conf.py
@@ -14,6 +14,7 @@
 
 import sys
 import os
+import h5py
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -51,10 +52,10 @@ copyright = u'2014, Andrew Collette and contributors'
 # built documents.
 #
 # The short X.Y version.
-version = '2.5'
+version = "%d.%d" % h5py.version.version_tuple[0:2]
 
 # The full version, including alpha/beta/rc tags.
-release = '2.5.0'
+release = h5py.version.version
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list