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