#!/usr/bin/make -f export PYBUILD_NAME=sqlalchemy-i18n %: dh $@ --buildsystem=pybuild override_dh_auto_build: dh_auto_build PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx docs docs/_build/html override_dh_compress: dh_compress -X.js -X.html override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) $(eval BUILD_DIR=$(shell pybuild --print '{build_dir}')) cp -r tests $(BUILD_DIR) python3 $(CURDIR)/debian/tests/setup-db-and-run-tests.py endif