#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=smstrade
export PYBUILD_TEST_ARGS_python2=unset http_proxy ; unset https_proxy ; cd {dir} ; py.test
export PYBUILD_TEST_ARGS_python3=unset http_proxy ; unset https_proxy ; cd {dir} ; py.test-3
# do not install scripts for Python 3 they are provided by the Python 2 package
export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin

override_dh_installchangelogs:
	dh_installchangelogs -i ChangeLog.rst

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

