#!/usr/bin/make -f

export PYBUILD_AFTER_TEST = rm {build_dir}/wrote.conf

%:
	dh $@ --buildsystem=pybuild

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args='cd {build_dir}; python3 -m pytest $(CURDIR)/tests'

execute_after_dh_auto_clean:
	rm -rf .pytest_cache src/vanguards.egg-info
