#!/usr/bin/make -f

UPSTREAM_GIT = https://github.com/kiorky/croniter.git
include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_TEST_ARGS = -v croniter/tests

%:
	dh $@ --buildsystem=pybuild --with python3

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build .stestr .pytest_cache *.egg-info src/*.egg-info
	find . -iname '*.pyc' -delete
	for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
