#!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export SETUPTOOLS_SCM_PRETEND_VERSION=3.6.22 # magic debhelper rule %: dh $@ --buildsystem=pybuild override_dh_auto_install: set -e && for py3vers in $(shell py3versions -sv); do \ python$$py3vers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-gsw; \ done dh_numpy3 execute_after_override_dh_auto_clean: rm -fr gsw.egg-info .pybuild rm -fr build __pycache__ override_dh_auto_build: python3 setup.py build --force