#!/usr/bin/make -f
export DH_VERBOSE = 1

export PYBUILD_NAME=sqt

export LC_ALL=C.UTF-8

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .eggs/README.txt sqt/_helpers.c sqt/_helpers.cpython-37m-x86_64-linux-gnu.so __pycache__

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	LC_ALL=C.UTF-8 dh_auto_test
endif
