Skip to content

Commit 5e9feb2

Browse files
klemensclaudep
authored andcommitted
Exclude all tests from wheel
Previously, the "tests/wizard" package was still included in the built wheel, because the tool.setuptools.packages.find.exclude directive matches each fully qualified package name separately. Exclude all test packages by using a glob.
1 parent a610e09 commit 5e9feb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ license-files = ["LICENSE"]
5353
zip-safe = false
5454

5555
[tool.setuptools.packages.find]
56-
exclude = ["tests"] # tests.*
56+
exclude = ["tests*"]
5757
namespaces = false
5858

5959
[tool.setuptools_scm]

0 commit comments

Comments
 (0)