1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
export PYBUILD_NAME=flufl.lock
# The default is to require 100% coverage, which this package doesn't reach,
# but as downstreams we don't care about that.
export PYBUILD_TEST_ARGS=--cov-fail-under=95
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/docs' \
{destdir}/{install_dir}/.coverage* \
{destdir}/{install_dir}/coverage.xml
%:
dh $@ --buildsystem=pybuild
override_dh_installchangelogs:
dh_installchangelogs -k docs/NEWS.rst
override_dh_auto_build:
dh_auto_build
PYTHONPATH=src http_proxy='127.0.0.1:9' sphinx-build -bhtml docs build/sphinx/html
|