Skip to content

Commit d87af41

Browse files
Restore package discovery for platform wheel builds (#601)
1 parent 9d942d4 commit d87af41

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

python/pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ dev = [
4141
"httpx>=0.24.0",
4242
]
4343

44-
[tool.setuptools]
45-
packages = ["copilot"]
44+
# Use find with a glob so that the copilot.bin subpackage (created dynamically
45+
# by scripts/build-wheels.mjs during publishing) is included in platform wheels.
46+
[tool.setuptools.packages.find]
47+
where = ["."]
48+
include = ["copilot*"]
4649

4750
[tool.ruff]
4851
line-length = 100

0 commit comments

Comments
 (0)