#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

srcdir=$(shell pwd)
export PYBUILD_NAME=path
export LC_ALL=C.UTF-8
export PYBUILD_TEST_ARGS=$(srcdir)/tests/test_path.py

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_auto_build:
	sed -i path/__init__.py -e "s/@VERSION@/'$(DEB_VERSION_UPSTREAM)'/g"

execute_after_dh_auto_clean:
	rm -rf path.egg-info/
