From b57fea7d39b6b8ca85078b9fc0b9ac1d85bd8781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gl=C3=A4=C3=9Fle?= Date: Fri, 27 Dec 2024 10:49:05 +0100 Subject: [PATCH] List packages explicitly --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8d0df499..b692afcd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,7 @@ requires = [ [tool.setuptools] dynamic.version.attr = "cpymad.__version__" -packages.find = {where = ["src"], include = ["cpymad*"]} -include-package-data = false +packages = ["cpymad", "cpymad.COPYING"] +package-dir = {"cpymad" = "src"} package-data = {"cpymad.COPYING" = ["*.rst"]} +include-package-data = false