We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 111dfa1 commit fd66f4cCopy full SHA for fd66f4c
setup.py
@@ -59,7 +59,13 @@
59
libname = "scip"
60
else:
61
# assume that SCIP is installed on the system
62
- libdir = os.path.abspath(os.path.join(scipoptdir, "lib"))
+ # check for lib64 first (newer SCIP tarballs), then lib
63
+ if os.path.exists(os.path.join(scipoptdir, "lib64")):
64
+ libdir = os.path.abspath(os.path.join(scipoptdir, "lib64"))
65
+ elif os.path.exists(os.path.join(scipoptdir, "lib")):
66
+ libdir = os.path.abspath(os.path.join(scipoptdir, "lib"))
67
+ else:
68
+ sys.exit("Could not find lib or lib64 directory in SCIPOPTDIR=%s" % scipoptdir)
69
libname = "libscip" if platform.system() == "Windows" else "scip"
70
71
print("Using include path %s." % includedirs)
0 commit comments