Skip to content

Commit

Permalink
Simplify tool.setuptools.packages.find by using include rule
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 24, 2024
1 parent 52d7324 commit d8dfadd
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 @@ -158,15 +158,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 d8dfadd

Please sign in to comment.