Skip to content

Commit

Permalink
feat(pyproject.toml): fix pyproject.toml and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufsyaifudin committed Oct 20, 2024
1 parent 4094843 commit ab68518
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ test = ["coverage"]

[tool.setuptools.packages.find]
where = ["idsentsegmenter"]
include = ["utils*", "res*"] # alternatively: `exclude = ["additional*"]`
include = ["idsentsegmenter", "idsentsegmenter.res", "idsentsegmenter.utils"] # alternatively: `exclude = ["additional*"]`
namespaces = false

# If there are data files included in your packages that need to be
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
url="https://github.com/yusufsyaifudin/id-sentence-segmenter",
packages=find_packages(
where="idsentsegmenter",
include=["utils*", "res*"],
include=["idsentsegmenter", "idsentsegmenter.res", "idsentsegmenter.utils"],
),
package_dir={"": "idsentsegmenter"},
package_dir={"idsentsegmenter": "idsentsegmenter"},
package_data={"idsentsegmenter/res/lexicon": ["*.txt"], "idsentsegmenter/res/wordlists": ["*.txt"]},
include_package_data=True,
classifiers=[
Expand Down

0 comments on commit ab68518

Please sign in to comment.