#!/usr/bin/make -f

# DH_VERBOSE := 1

export PYBUILD_NAME=hmmlearn
export PYBUILD_TEST_ARGS={dir}/doc --pyargs hmmlearn.tests
export PYBUILD_AFTER_TEST=find . -name filename.pkl -delete

# python3-sklearn ships ext modules for the default Python only, so the test
# suite cannot run on the other supported versions.
export PYBUILD_DISABLE = $(addprefix test/,$(filter-out \
	$(shell py3versions -d),$(shell py3versions -r)))

%:
	dh $@ --buildsystem=pybuild
