Skip to content

Commit af341ab

Browse files
committed
install pyscipopt no binary
1 parent f8e6393 commit af341ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ test-requires = ["pytest"]
4545
[tool.cibuildwheel.linux]
4646
skip="pp* cp36* cp37* *musllinux*"
4747
before-all = [
48-
"pip install pyscipopt",
49-
"pip show pyscipopt",
5048
"(apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget",
5149
"wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4.0/libscip-gcg-linux.zip -O gcg.zip",
5250
"unzip gcg.zip",
5351
"mv scip_install gcg",
52+
"pip install pyscipopt --no-binary=:all:"
5453
]
5554
environment = { SCIPOPTDIR="$(pwd)/gcg", GCGOPTDIR="$(pwd)/gcg", LD_LIBRARY_PATH="$(pwd)/gcg/lib:$LD_LIBRARY_PATH", DYLD_LIBRARY_PATH="$(pwd)/gcg/lib:$DYLD_LIBRARY_PATH", PATH="$(pwd)/gcg/bin:$PATH", PKG_CONFIG_PATH="$(pwd)/gcg/lib/pkgconfig:$PKG_CONFIG_PATH", RELEASE="true"}
5655

@@ -67,6 +66,7 @@ else
6766
fi
6867
unzip gcg.zip
6968
mv scip_install src/gcg
69+
pip install pyscipopt --no-binary=:all:
7070
'''
7171
environment = {SCIPOPTDIR="$(pwd)/src/gcg", GCGOPTDIR="$(pwd)/src/gcg", LD_LIBRARY_PATH="$(pwd)/src/gcg/lib:LD_LIBRARY_PATH", DYLD_LIBRARY_PATH="$(pwd)/src/gcg/lib:$DYLD_LIBRARY_PATH", PATH="$(pwd)/src/gcg/bin:$PATH", PKG_CONFIG_PATH="$(pwd)/src/gcg/lib/pkgconfig:$PKG_CONFIG_PATH", RELEASE="true"}
7272
repair-wheel-command = [
@@ -82,7 +82,8 @@ before-all = [
8282
"wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4.0/libscip-gcg-windows.zip -O gcg.zip",
8383
"\"C:\\Program Files\\7-Zip\\7z.exe\" x \"gcg.zip\" -o\"gcg-test\"",
8484
"mv .\\gcg-test\\scip_install .\\test",
85-
"mv .\\test .\\gcg"
85+
"mv .\\test .\\gcg",
86+
"pip install pyscipopt --no-binary=:all:"
8687
]
8788
before-build = "pip install delvewheel"
8889
environment = { SCIPOPTDIR='D:\\a\\PyGCGOpt\\PyGCGOpt\\gcg', GCGOPTDIR='D:\\a\\PyGCGOpt\\PyGCGOpt\\gcg', RELEASE="true" }

0 commit comments

Comments
 (0)