#!/usr/bin/make -f
#export DH_VERBOSE=1

export PYBUILD_NAME=yt
export http_proxy=127.0.0.1:9

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

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	python setup.py build_ext -i && nosetests
endif
