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

export PYBUILD_NAME=transitions
export PYBUILD_TEST_ARGS=-k 'not test_mypy_package'

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs Changelog.md

override_dh_fixperms:
	dh_fixperms
	find debian/python3-transitions/ -type f -exec chmod a-x {} \;

override_dh_install:
	dh_install
	rm debian/python3-transitions/usr/lib/python*/dist-packages/transitions-*.dist-info/top_level.txt
