Skip to content

Commit f54b321

Browse files
committed
try removing cached scip
1 parent 9da0614 commit f54b321

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ manylinux-aarch64-image = "manylinux_2_28"
4444

4545
[tool.cibuildwheel.linux]
4646
skip="pp* cp36* cp37* *musllinux*"
47+
before-build = "rm -f src/pyscipopt/*.c"
4748
before-all = '''
4849
#!/bin/bash
4950
(apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget
@@ -63,6 +64,7 @@ environment = { SCIPOPTDIR="$(pwd)/scip", LD_LIBRARY_PATH="$(pwd)/scip/lib:$LD_L
6364

6465
[tool.cibuildwheel.macos]
6566
skip="pp* cp36* cp37*"
67+
before-build = "rm -f src/pyscipopt/*.c"
6668
before-all = '''
6769
#!/bin/bash
6870
brew install wget zlib gcc
@@ -94,6 +96,7 @@ repair-wheel-command = '''
9496

9597
[tool.cibuildwheel.windows]
9698
skip="pp* cp36* cp37*"
99+
before-build = "python -c \"import os, glob; [os.remove(f) for f in glob.glob('src/pyscipopt/*.c')]\""
97100
before-all = [
98101
"choco install 7zip wget",
99102
"wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.10.0/libscip-windows.zip -O scip.zip",

0 commit comments

Comments
 (0)