#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=geolinks
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
export PYTHONPATH=$(CURDIR)


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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="{interpreter} tests/run_tests.py -v" dh_auto_test
