Commit 4966d03a authored by Ondřej Nový's avatar Ondřej Nový

Use 'python3 -m sphinx' instead of sphinx-build for building docs

parent bd499deb
......@@ -4,6 +4,7 @@ python-pskc (1.0-2) UNRELEASED; urgency=medium
* d/control: Remove ancient X-Python-Version field
* d/control: Remove ancient X-Python3-Version field
* Convert git repository from git-dpm to gbp layout
* Use 'python3 -m sphinx' instead of sphinx-build for building docs
-- Ondřej Nový <onovy@debian.org> Tue, 13 Feb 2018 10:04:22 +0100
......
......@@ -9,8 +9,8 @@ override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. sphinx-build -N -bhtml docs build/sphinx/html
PYTHONPATH=. sphinx-build -N -bman docs build/sphinx/man
PYTHONPATH=. python3 -m sphinx -N -bhtml docs build/sphinx/html
PYTHONPATH=. python3 -m sphinx -N -bman docs build/sphinx/man
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args='PYTHONWARNINGS=all TZ=Europe/Amsterdam {interpreter} setup.py nosetests --exclude="(test_signature|test_pskc2csv).doctest" --cover-min-percentage 95'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment