#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=xmlrunner
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	# Remove xml file generated during tests.
	find $(CURDIR)/debian/python3-xmlrunner \( -name '*.xml' \) -type f -delete
