#!/usr/bin/make -f PACKAGE_NAME := $(shell python setup.py --name) export PYBUILD_NAME=$(PACKAGE_NAME) PYTHON3_VERSION = $(shell py3versions -d) %: dh $@ --with python3 --buildsystem=pybuild override_dh_install: dh_install mkdir -p debian/python3-relatorio/usr/share/python3-relatorio mv debian/python3-relatorio/usr/lib/"$(PYTHON3_VERSION)"/dist-packages/relatorio/tests/ debian/python3-relatorio/usr/share/python3-relatorio