1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=bottleneck
export DH_ALWAYS_EXCLUDE=LICENSE
%:
dh $@ --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
find bottleneck -type f -name "*.so" -delete
$(RM) -rf build/sphinx
override_dh_auto_build-indep: export http_proxy=127.0.0.1:9
override_dh_auto_build-indep: export https_proxy=127.0.0.1:9
override_dh_auto_build-indep:
python3 setup.py build_ext --inplace
PYTHONPATH=. python3 setup.py build_sphinx
override_dh_auto_test-indep:
override_dh_installchangelogs:
dh_installchangelogs RELEASE.rst
|