#!/usr/bin/make -f

export DH_VERBOSE = 1

export PYBUILD_NAME=joypy

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir}/data {interpreter} -m pytest -v"
endif
