#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk

# Run unit tests.
export PYBUILD_AFTER_TEST := env \
	PYTHONPATH={build_dir} \
	PYTHONDONTWRITEBYTECODE=1 \
	make -C {dir}/test PYTHON={interpreter}

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