debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | #export DH_VERBOSE=1 |
| 4 | |
| 5 | export PYBUILD_TEST_CUSTOM=1 |
| 6 | export PYBUILD_TEST_ARGS={interpreter} -m twisted.trial foolscap |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=pybuild |
| 10 | |
| 11 | override_dh_installchangelogs: |
| 12 | dh_installchangelogs -i NEWS.md |
| 13 | |
| 14 | override_dh_auto_clean: |
| 15 | # remove pyc's from testsuite |
| 16 | find . -name "*.pyc" | xargs rm -f |
| 17 | rm -rf _trial_temp |
| 18 | rm -rf build |
| 19 | rm -rf src/foolscap.egg-info |
| 20 | dh_auto_clean |
| 21 | |
| 22 | override_dh_compress: |
| 23 | dh_compress -X.xhtml |