#!/usr/bin/make -f %: dh $@ --with python3 --buildsystem=pybuild # Remove this section and setup.py after python3-setuptools in all debian # releases we support is >= 70 override_dh_auto_clean: set -x; \ SETUPTOOLS_VER="$$(dpkg-query \ --showformat='$${Version}' \ --show python3-setuptools)"; \ if dpkg --compare-versions "$$SETUPTOOLS_VER" lt 70.0.0; then \ rm -f pyproject.toml; \ install -Dm755 contrib/setup.py setup.py; \ fi dh_auto_clean