#!/usr/bin/make -f

export DH_VERBOSE = 1

export PYBUILD_NAME=pepsickle
export PYBUILD_TEST_ARGS=discover -s {dir}/tests -v
export PYBUILD_AFTER_TEST={interpreter} {dir}/debian/tests/model-compatibility
export OMP_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build:
	python3 debian/convert-models.py
	dh_auto_build
