#! /usr/bin/make -f

export PYBUILD_NAME=napari-console
%:
	dh $@ --with python3 --buildsystem=pybuild --test-pytest

execute_before_dh_auto_test:
	set -e ; for v in $$(py3versions -sv) ; do cp -r napari_console/_tests .pybuild/cpython3_$${v}_$(PYBUILD_NAME)/build ; done

override_dh_auto_test:

execute_after_dh_auto_install:
	rm -rf debian/*/usr/lib/python3*/dist-packages/_tests
