debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Set to enable verbose output from debhelper |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | export PYBUILD_TEST_CUSTOM = 1 |
| 7 | export PYBUILD_TEST_ARGS = {interpreter} -m unittest discover -s tests -t tests |
| 8 | export PYBUILD_AFTER_INSTALL = PYTHONPATH={build_dir} {interpreter} -m sphinx -N -b html docs docs/_build/html |
| 9 | |
| 10 | %: |
| 11 | dh $@ --with python3,sphinxdoc --buildsystem=pybuild |