#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=hbmqtt
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_TEST_NOSE=1

# The test suite included in the PyPI package is incomplete and thus fails.
# See https://github.com/beerfactory/hbmqtt/pull/83
export PYBUILD_DISABLE=test

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

# The PyPI package is incomplete and does not include the docs.
# See https://github.com/beerfactory/hbmqtt/pull/83
#override_dh_installchangelogs:
#	dh_installchangelogs docs/changelog.rst
