#!/usr/bin/make -f
export DH_VERBOSE = 1

export PYBUILD_NAME=rdata

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

override_dh_auto_test:
	PYTHONPATH=$(CURDIR) pytest-3

override_dh_python3:
	dh_python3
	rm -rf debian/python3-rdata/usr/lib/python3/dist-packages/rdata-*egg-info

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .eggs
