[med-svn] [python-skbio] 01/03: Fix build of sphinx docs PYTHONPATH

Kevin Murray daube-guest at moszumanska.debian.org
Mon Dec 21 05:41:39 UTC 2015


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

daube-guest pushed a commit to branch master
in repository python-skbio.

commit 03f129a6428b02efc07ce9dfc7978684c175e21e
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Mon Dec 21 16:12:10 2015 +1100

    Fix build of sphinx docs PYTHONPATH
    
    Hard code the PYTHONPATH so that the sphinx docs can be built. This is
    required as wildcards cannot be used without `export`.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b1cb8d9..cd78438 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,9 @@ DOCPKG=python-$(PYBUILD_NAME)-doc
 
 override_dh_auto_build:
 	dh_auto_build
-	export PYTHONPATH="`pwd`"/.pybuild/pythonX.Y_2*/build/ ; export http_proxy='127.0.0.1:9'; cd doc && make html
+	PYTHONPATH=.pybuild/pythonX.Y_2.7/build/ \
+		http_proxy='127.0.0.1:9' \
+		sphinx-build -b html -d doc/build/doctrees doc/source doc/build/html
 
 override_dh_auto_test:
 	#Loads of failures at this point.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-skbio.git



More information about the debian-med-commit mailing list