From c835b206c6256e56af1757bbcd839ca2255f39d6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 1 Mar 2026 12:50:07 -0800 Subject: [PATCH] release: include compiled extensions (*.so) in shim package-data (#36) The shim setup.py extracts .so files from the wheel, but the generated pyproject.toml didn't include them in package-data, so they were excluded when uv built a local wheel from the source. Co-authored-by: Claude Opus 4.6 --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 67aacfb..aadfd51 100755 --- a/release.sh +++ b/release.sh @@ -107,7 +107,7 @@ for toml in sorted(pathlib.Path(".").glob("*/pyproject.toml")): f"include = {json.dumps(find_include)}", "", "[tool.setuptools.package-data]", - f'{module} = ["{datadir}/**/*"]', + f'{module} = ["{datadir}/**/*", "*.so"]', "", "[tool.shim]", f'repo_url = "{repo_url}"',