[h5py] 02/38: 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 b64811a69198c2201b2bb060fca28b39fac25a16
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Apr 14 11:52:42 2015 +0100

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

diff --git a/docs_api/conf.py b/docs_api/conf.py
index 6153c6d..8fceb60 100644
--- a/docs_api/conf.py
+++ b/docs_api/conf.py
@@ -14,7 +14,6 @@
 
 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
@@ -52,10 +51,10 @@ copyright = u'2014, Andrew Collette and contributors'
 # built documents.
 #
 # The short X.Y version.
-version = "%d.%d" % h5py.version.version_tuple[0:2]
+version = '2.5'
 
 # The full version, including alpha/beta/rc tags.
-release = h5py.version.version
+release = '2.5.0'
 
 # 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