#!/usr/bin/make -f
export PYBUILD_NAME=ml_dtypes
export DEB_CXXFLAGS_MAINT_APPEND = -I$(CURDIR)/debian/eigen
%:
	dh $@ --with python3,numpy3 --buildsystem=pybuild --test-pytest

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=".pybuild/cpython3_$(shell py3versions -dv)_ml_dtypes/build/" pytest -v
endif
