Skip to content

Commit 207715a

Browse files
Fixed build packaging issue of missed module sub-directory
1 parent 57f48be commit 207715a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

pyproject.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,8 @@ dev = [
4545
requires = ["setuptools>=61.0"]
4646
build-backend = "setuptools.build_meta"
4747

48-
[tool.setuptools]
49-
packages = ["curo"]
50-
51-
[tool.setuptools.package-data]
52-
curo = ["*.py"]
53-
54-
[tool.setuptools.exclude-package-data]
55-
curo = ["docs/*", "tests/*"]
48+
[tool.setuptools.packages.find]
49+
include = ["curo", "curo.*"]
5650

5751
[tool.pytest.ini_options]
5852
python_files = ["test_*.py"]

0 commit comments

Comments
 (0)