#!/usr/bin/make -f

export PYBUILD_NAME=django_djcelery_email

# missing test data in sdist; upstream contacted
export PYBUILD_DISABLE=test

%:
	dh $@ --buildsystem=pybuild --with=single-binary

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} /usr/bin/django-admin test --settings=tests.settings tests"
endif
