[Python-modules-commits] [cherrypy3] 10/15: rules: sphinx: Explicitly use py3 sphinx-build script (fixes import errors when py2-sphinx is istalled as well).

Stephan Suerken absurd at moszumanska.debian.org
Mon Nov 27 08:40:48 UTC 2017


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

absurd pushed a commit to branch master
in repository cherrypy3.

commit 10d733943c5a82b9df52ba2dfd56eff68be21ade
Author: Stephan Sürken <absurd at debian.org>
Date:   Thu Nov 23 11:45:22 2017 +0100

    rules: sphinx: Explicitly use py3 sphinx-build script (fixes import errors when py2-sphinx is istalled as well).
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 472bd14..e59067b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,6 @@ override_dh_compress:
 
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
-	http_proxy='http://127.0.0.1:9/' PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-cherrypy3-doc/usr/share/doc/python-cherrypy3-doc/html/
+	http_proxy='http://127.0.0.1:9/' PYTHONPATH=. /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ debian/python-cherrypy3-doc/usr/share/doc/python-cherrypy3-doc/html/
 	dh_sphinxdoc
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cherrypy3.git



More information about the Python-modules-commits mailing list