#!/usr/bin/make -f

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

export PYBUILD_NAME = django-simple-history
export LC_ALL = C.UTF-8
export PYBUILD_TEST_CUSTOM = 1
# Tests aren't installed in the wheel, so it's easiest to run them from the
# source directory.  This is OK since this package has no C extensions.
export PYBUILD_TEST_ARGS = cd {dir} && {interpreter} runtests.py

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs -p python3-django-simple-history  CHANGES.rst
