#!/usr/bin/make -f

export PYBUILD_NAME=test-server

# let pytest find the tests as Python modules
export PYBUILD_BEFORE_TEST = touch tests/__init__.py
export PYBUILD_AFTER_TEST = rm tests/__init__.py

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	rm -f ${CURDIR}/debian/python-test-server/usr/bin/test_server
