Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 PY3VERS=$(shell py3versions -vs)
4
5 export PYBUILD_NAME=knitpy
6
7 %:
8 dh $@ --with python3 --buildsystem=pybuild
9
10 override_dh_clean:
11 rm -fv config-stamp build-python?.* install-python?.*
12 rm -fv `find . -name "*.pyc"`
13 rm -rfv build *.egg-info
14 dh_clean
15
16 execute_after_dh_python3:
17 rm -rf debian/python3-knitpy/usr/lib/python3/dist-packages/*.egg-info
18
19 override_dh_compress:
20 dh_compress -i --exclude=.js --exclude=.pdf --exclude=.py