diff --git a/pyproject.toml b/pyproject.toml index 5a081bb91..2de6429d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,9 +35,8 @@ ocrd-dummy = "ocrd.processor.builtin.dummy_processor:cli" [tool.setuptools] include-package-data = true - -[tool.setuptools.package-data] -"*" = ["*.json", '*.yml', '*.xml', '*.conf', '*.bash', '*.xsd'] +package-dir = {"" = "src"} +package-data = {"*" = ["*.json", '*.yml', '*.xml', '*.conf', '*.bash', '*.xsd']} [tool.setuptools.packages.find] where = ["src"]