#!/usr/bin/make -f export PYBUILD_TEST_ARGS = \ --deselect tests/test_cli.py::test_discover_raw \ --deselect tests/test_cli.py::test_cli_child_commands \ --ignore tests/test_readme_examples.py %: dh $@ --buildsystem=pybuild override_dh_auto_build: dh_auto_build $@ --buildsystem=pybuild dh_doc_privacy # Use the built package metadata and console script for the documentation. cd docs; PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \ PATH=$(shell pybuild --print home_dir --interpreter python3)/scripts:$(PATH) \ LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml -d _build/doctrees source _build/html override_dh_fixperms: dh_fixperms chmod -x $(CURDIR)/debian/*/usr/lib/python3/dist-packages/*/*/*.py $(CURDIR)/debian/*/usr/lib/python3/dist-packages/*/*.py