d/rules: Add __init__.py file to the mathgl Python module
authorRafael Laboissière <rafael@debian.org>
Sun, 7 Jan 2024 19:39:15 +0000 (16:39 -0300)
committerRafael Laboissière <rafael@debian.org>
Mon, 8 Jan 2024 19:54:36 +0000 (16:54 -0300)
debian/rules

index c4c7c7161b0897dc830b532f3aeea220a10d582e..d73351da1d5658976154d09cdd884afd76e34aaa 100755 (executable)
@@ -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