1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
export PYBUILD_NAME=htseq
# see https://wiki.debian.org/Python/LibraryStyleGuide
export http_proxy=http://127.0.9.1:9
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# for setup.py
export CYTHON=cython3
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
# setup.py creates some symlinks in clean target
# remove these links to keep source tree clean
for link in 'src' 'HTSeq' 'doc' 'scripts' 'test' ; do \
if [ -L $${link} ] ; then rm $${link} ; fi \
done
|