#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_clean:
	dh_auto_clean
	find . -name "__pycache__" -type d -exec rm -rf {} + 2>/dev/null || true
	rm -rf dist/ dist-deb/

override_dh_auto_test:
	python3 -m pytest tests/ --ignore=tests/__pycache__ -q || true
