Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE=1
5
6 include /usr/share/dpkg/buildflags.mk
7
8 DPKG_EXPORT_BUILDFLAGS = 1
9 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
10
11 export PYBUILD_NAME=asyncmy
12 export PYBUILD_DISABLE=test
13
14 %:
15 dh $@ --buildsystem=pybuild
16
17 override_dh_auto_clean:
18 dh_auto_clean
19 rm -rf .mypy_cache .pytest_cache debian/build
20
21 override_dh_auto_build:
22 python3 setup.py install \
23 --install-layout=deb \
24 --root=debian/build