#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8


%:
	dh $@ --buildsystem=pybuild

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

override_dh_install:
	dh_install
	find debian -name LICENSE| xargs rm -rf
