Skip to content

Commit c5c9b8a

Browse files
authored
Update pyproject.toml
1 parent f5743c9 commit c5c9b8a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ['setuptools', 'cython >=3.0.0', 'pyscipopt >=5.1.0']
2+
requires = ['setuptools', 'cython >=3.0.0']
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -8,7 +8,7 @@ description = "Python interface and modeling environment for GCG"
88
authors = [
99
{name = "Lehrstuhl für Operations Research - RWTH Aachen University", email = "gcg-bugs@or.rwth-aachen.de"},
1010
]
11-
dependencies = ["pyscipopt>=5.1.0", "ortools"]
11+
dependencies = ["ortools"]
1212
requires-python = ">=3.8"
1313
readme = "README.md"
1414
license = {text = "MIT"}
@@ -46,7 +46,11 @@ before-all = [
4646
"(apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget",
4747
"wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4.0/libscip-gcg-linux.zip -O gcg.zip",
4848
"unzip gcg.zip",
49-
"mv scip_install gcg"
49+
"mv scip_install gcg",
50+
"wget https://github.com/scipopt/pyscipopt/archive/refs/tags/v5.1.1.zip -O pyscipopt.zip",
51+
"unzip pyscipopt.zip",
52+
"cd PySCIPOpt-5.1.1",
53+
"python -m pip install ."
5054
]
5155
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"}
5256

0 commit comments

Comments
 (0)