debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME := pytrainer |
| 4 | export PYBUILD_TEST_CUSTOM := 1 |
| 5 | export PYBUILD_TEST_ARGS := \ |
| 6 | TZ=Europe/Kaliningrad LC_CTIME=C \ |
| 7 | {interpreter} -m unittest discover -s {dir} |
| 8 | |
| 9 | %: |
| 10 | dh $@ --with python3 --buildsystem=pybuild |
| 11 | |
| 12 | override_dh_python3: |
| 13 | dh_python3 --shebang=/usr/bin/python3 |