Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #export DH_VERBOSE = 1
5
6 export PYBUILD_NAME=meshzoo
7
8 %:
9 dh $@ --with python3 --buildsystem=pybuild
10
11 override_dh_auto_clean:
12 dh_auto_clean
13 rm -rf src/meshzoo.egg-info
14
15 # test_disk.py creates .svg files in the run dir i.e. {build_dir}
16 # so remove them after tests
17 override_dh_auto_test:
18 MPLBACKEND=Agg dh_auto_test -- --after-test "rm -f {build_dir}/*.svg"