diff --git a/debian/changelog b/debian/changelog index 218bc0f..78bac6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ python-oslo.db (1.0.0-1) experimental; urgency=medium * Updated (build-)depends for this release. * Allow the unit tests to fail because they don't work with the namespace of oslo :(. + * Added PYTHONPATH=. when generating sphinx doc. -- Thomas Goirand Fri, 19 Sep 2014 22:34:16 +0800 diff --git a/debian/rules b/debian/rules index 89611f1..8cee52f 100755 --- a/debian/rules +++ b/debian/rules @@ -40,7 +40,7 @@ override_dh_clean: override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b html doc/source debian/python-oslo.db-doc/usr/share/doc/python-oslo.db-doc/html + PYTHONPATH=. sphinx-build -b html doc/source debian/python-oslo.db-doc/usr/share/doc/python-oslo.db-doc/html dh_sphinxdoc -O--buildsystem=python_distutils endif