#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

include /usr/share/dpkg/pkg-info.mk
export SETUPTOOLS_SCM_PRETEND_VERSION=$(subst +ds,,$(DEB_VERSION_UPSTREAM))
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS={dir}/tests/

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_clean:
	rm -rf scc/locale scc/_version.py
