diff --git a/pyproject.toml b/pyproject.toml index 4550ca7..560a627 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,8 +88,11 @@ zip-safe = true # Python modules and packages that are included in the # distribution package (and therefore become importable) [tool.setuptools.packages.find] -exclude = ["*/*/tests", "tests_*", "examples", "notebooks"] -where = ["bfit", "bfit.test"] +exclude = ["*/*/test", "test_*", "examples", "notebooks", "docs"] +# list of folders that contain the packages (["."] by default) +where = ["."] +# package names should match these glob patterns (["*"] by default) +include = ["bfit"] # PDM example #[tool.pdm.scripts]