Skip to content

Commit 735609a

Browse files
committed
Fix pyproject.toml
1 parent fac23be commit 735609a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ dev = [
5353
"mypy",
5454
]
5555

56-
[tool.setuptools]
57-
py-modules = ["fmd_api"]
56+
# --- IMPORTANT CHANGE ---
57+
# Use setuptools.find to include the package directory (fmd_api/) in built distributions.
58+
# Do NOT use py-modules = ["fmd_api"] which causes packaging a single fmd_api.py module.
59+
[tool.setuptools.packages.find]
60+
where = ["."]
61+
exclude = ["tests*", "debugging*"]
5862

5963
[tool.black]
6064
line-length = 120

0 commit comments

Comments
 (0)