From 66731e5501f0149c636a457b1fbc0fe1e3256133 Mon Sep 17 00:00:00 2001 From: moriyoshi Date: Tue, 10 Mar 2026 19:08:07 +0900 Subject: [PATCH] fix: need to provide different settings for the platforms --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a4edc8d..aae1497 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,7 +102,13 @@ files = "src/" [tool.cibuildwheel] build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*"] # skip = "pp*" + +[tool.cibuildwheel.linux] before-build = "find /project -iname '*.so' | xargs rm -f" +[tool.cibuildwheel.windows] +before-build = "DEL /S /Q *.dll" + [tool.cibuildwheel.macos] archs = ["universal2"] +before-build = "find . -iname '*.so' | xargs rm -f "