#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME := pytest-mpl

# Prevent setuptools/distribute from accessing the internet.
export http_proxy := http://127.0.9.1:9

# Use agg Matplotlib backend for testing on headless machines.
export MPLBACKEND := agg

export PYBUILD_TEST_ARGS=-m "mpl_image_compare"
#export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}

%:
	dh $@ --buildsystem=pybuild
