Skip to content

Commit 66731e5

Browse files
committed
fix: need to provide different settings for the platforms
1 parent b6a1348 commit 66731e5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,13 @@ files = "src/"
102102
[tool.cibuildwheel]
103103
build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*"]
104104
# skip = "pp*"
105+
106+
[tool.cibuildwheel.linux]
105107
before-build = "find /project -iname '*.so' | xargs rm -f"
106108

109+
[tool.cibuildwheel.windows]
110+
before-build = "DEL /S /Q *.dll"
111+
107112
[tool.cibuildwheel.macos]
108113
archs = ["universal2"]
114+
before-build = "find . -iname '*.so' | xargs rm -f "

0 commit comments

Comments
 (0)