#!/usr/bin/make -f
export PYBUILD_NAME=mccabe

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

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="cd {build_dir} ; {interpreter} -m pytest $(CURDIR)/test_mccabe.py"

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3

override_dh_installchangelogs:
	dh_installchangelogs README.rst
