#!/usr/bin/make -f export PYBUILD_NAME=humanize export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -SVersion | sed 's/-[^-]*$$//') # Benchmarks need pytest-codspeed, which is not packaged export PYBUILD_TEST_ARGS=--ignore=tests/test_benchmarks.py -p no:cacheprovider {dir}/tests %: dh $@ --buildsystem=pybuild execute_after_dh_auto_clean: ${RM} -rf .pybuild ./*.egg-info .pytest_cache find . -name __pycache__ -type d -prune -exec ${RM} -r {} +