debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSE = 1 |
| 3 | |
| 4 | export PYBUILD_NAME=ncls |
| 5 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=pybuild |
| 9 | |
| 10 | execute_after_dh_auto_install: |
| 11 | # Compensate for `where = ["."]` in pyproject.toml. |
| 12 | rm -rf debian/*/usr/lib/python*/dist-packages/debian |
| 13 | rm -rf debian/*/usr/lib/python*/dist-packages/examples |