Skip to content

Commit

Permalink
pyproject now automatically finds sub-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreFCruz committed Nov 21, 2024
1 parent 9c011b3 commit db9f239
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ dynamic = [
"optional-dependencies",
] # these are defined below dynamically

[tool.setuptools]
# NOTE! If you have multiple source directories, you can specify them here:
packages = ["folktexts", "folktexts.acs", "folktexts.cli", "folktexts.classifier"]
include-package-data = true
[tool.setuptools.packages.find]
include = ["folktexts*"]
exclude = ["tests*", "docs*"]

[tool.setuptools.dynamic]
readme = { file = "README.md", content-type="text/markdown" }
Expand Down

0 comments on commit db9f239

Please sign in to comment.