diff --git a/pyproject.toml b/pyproject.toml index 5d5af66c..e7da9ba2 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*"]} +packages = ["cpymad", "cpymad.COPYING"] +package-dir = {"" = "src"} package-data = {"cpymad.COPYING" = ["*.rst"]} include-package-data = false