From d6a88c86d7848ce4cfa2c862ed2693ecc79ab917 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20Laboissi=C3=A8re?= Date: Sun, 7 Jan 2024 16:39:15 -0300 Subject: [PATCH] d/rules: Add __init__.py file to the mathgl Python module --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index c4c7c71..d73351d 100755 --- a/debian/rules +++ b/debian/rules @@ -58,3 +58,6 @@ override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) LOCAL=true debian/tests/run-tests endif + +execute_after_dh_installdeb: + echo "from .mathgl import *" > debian/python3-mathgl/usr/lib/python3/dist-packages/mathgl/__init__.py -- 2.30.2