| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_VERBOSE = 1 |
| 4 | export PYBUILD_NAME=annexremote |
| 5 | |
| 6 | export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir} |
| 7 | export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests |
| 8 | |
| 9 | %: |
| 10 | dh $@ --buildsystem=pybuild |
| 11 | |
| 12 | clean:: |
| 13 | dh_clean |
| 14 | -rm -rf __pycache__ build .pybuild annexremote.egg-info dist |
| 15 | -find . -name __pycache__ -type d -exec rm -rf {} \; |