Skip to content

Commit

Permalink
Simplify setuptools own tool.setuptools.packages.find by using incl…
Browse files Browse the repository at this point in the history
…ude rule (#4395)
  • Loading branch information
abravalheri authored Jun 20, 2024
2 parents dc527c1 + c22fd02 commit 2adbd4f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,14 @@ PKG-INFO = "setuptools.command.egg_info:write_pkg_info"
include-package-data = false

[tool.setuptools.packages.find]
include = [
"setuptools*",
"pkg_resources*",
"_distutils_hack*",
]
exclude = [
"*.tests",
"*.tests.*",
"tools*",
"debian*",
"launcher*",
"newsfragments*",
"docs",
"docs.*",
]
namespaces = true

Expand Down

0 comments on commit 2adbd4f

Please sign in to comment.