[Python-modules-commits] [python-tidylib] 01/01: Export PYTHONPATH when calling sphinx-build.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Dec 14 18:43:52 UTC 2015


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

mitya57 pushed a commit to branch master
in repository python-tidylib.

commit 47457838bf2790893fab3b3331959ef69c944ce4
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Mon Dec 14 21:43:43 2015 +0300

    Export PYTHONPATH when calling sphinx-build.
    
    So that autofunction directive works.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index bae49be..53f422d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,9 @@ export PYBUILD_NAME=tidylib
 
 override_dh_auto_build:
 	dh_auto_build
-	sphinx-build -b latex docs/rst debian/latex
+	PYTHONPATH=$(pwd) sphinx-build -b latex docs/rst debian/latex
 	make -C debian/latex all-pdf
-	sphinx-build -b html docs/rst debian/html
+	PYTHONPATH=$(pwd) sphinx-build -b html docs/rst debian/html
 
 override_dh_auto_clean:
 	rm -rf debian/html

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



More information about the Python-modules-commits mailing list