diff --git a/pyproject.toml b/pyproject.toml index e9f3b871..98529bc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,8 +35,8 @@ db_export = [ documentation = "https://canopen.readthedocs.io/en/stable/" repository = "https://github.com/canopen-python/canopen" -[tool.setuptools] -packages = ["canopen"] +[tool.setuptools.packages.find] +include = ["canopen", "canopen.*"] [tool.setuptools_scm] version_file = "canopen/_version.py"