#! /usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=xarray-sentinel
export PYBUILD_AFTER_BUILD=cp -R $(CURDIR)/xarray_sentinel/resources {build_dir}/xarray_sentinel
export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM:+ds=) | sed 's/~//')
export PYBUILD_TEST_ARGS=-m "not network" $(CURDIR)/tests

%:
	dh $@ --buildsystem=pybuild
