#!/usr/bin/make -f

export PYBUILD_NAME = finalcif

export http_proxy  = 127.0.0.1
export https_proxy = 127.0.0.1

export NO_NETWORK = 1

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

override_dh_auto_test:
	xvfb-run pytest-3

execute_after_dh_auto_install:
	rm -rf debian/finalcif/usr/lib/python*/dist-packages/docs
	rm -rf debian/finalcif/usr/lib/python*/dist-packages/scripts

execute_after_dh_auto_clean:
	rm -rf FinalCif.egg-info
