Skip to content

Commit 14e9e0a

Browse files
committed
Specify packages using include rather than exclude
This avoids possible duplication if a wheel is built more than once from the same directory.
1 parent 3374239 commit 14e9e0a

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,10 @@ csscombine = "cssutils.scripts.csscombine:main"
8585
cssparse = "cssutils.scripts.cssparse:main"
8686

8787
[tool.setuptools.packages.find]
88-
exclude = [
89-
# duplicate exclusions for pypa/setuptools#2688
90-
"docs",
91-
"docs.*",
92-
"examples*",
93-
"sheets",
94-
"sheets.*",
95-
"tools*",
88+
include = [
89+
"cssutils",
90+
"cssutils.*",
91+
"encutils",
9692
]
9793
namespaces = true
9894

0 commit comments

Comments
 (0)