From bdf641b5fda400df70e387cb7379f9a08cef0f17 Mon Sep 17 00:00:00 2001
From: Lukas Schmelting <lschmelting@posteo.com>
Date: Wed, 12 Aug 2026 18:17:50 +0200
Subject: [PATCH] Disable namespace package discovery

Prevent non-Python directories such as data, doc, dolphin and nemo from
being installed into site-packages by setuptools' implicit namespace
package discovery.
---
 pyproject.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 7b14858..b37aa71 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,6 +38,7 @@ script-files = ["mat2"]
 
 [tool.setuptools.packages.find]
 exclude = ["tests*"]
+namespaces = false
 
 [tool.setuptools.data-files]
 "share/man/man1" = ["doc/mat2.1"]
-- 
2.53.0
