| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS))) |
| 4 | export PYBUILD_TEST_ARGS=-vv |
| 5 | endif |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=pybuild --test-pytest |
| 9 | |
| 10 | # avoid shipping unused modules needing not-in-Debian modules |
| 11 | execute_after_dh_auto_install: |
| 12 | find debian/*/usr/lib -path '*/ghpages*' -delete |
| 13 | find debian/*/usr/lib -path '*/notoqa*' -delete |
| 14 | find debian/*/usr/lib -path '*/documentation.py*' -delete |