mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
Z3 now will also try to find libz3 in PYTHONPATH
This commit is contained in:
parent
e13f3d92af
commit
f7bcf0fd58
|
@ -1657,7 +1657,7 @@ else:
|
||||||
if hasattr(builtins, "Z3_LIB_DIRS"):
|
if hasattr(builtins, "Z3_LIB_DIRS"):
|
||||||
_all_dirs = builtins.Z3_LIB_DIRS
|
_all_dirs = builtins.Z3_LIB_DIRS
|
||||||
|
|
||||||
for v in ('Z3_LIBRARY_PATH', 'PATH'):
|
for v in ('Z3_LIBRARY_PATH', 'PATH', 'PYTHONPATH'):
|
||||||
if v in os.environ:
|
if v in os.environ:
|
||||||
lp = os.environ[v];
|
lp = os.environ[v];
|
||||||
lds = lp.split(';') if sys.platform in ('win32') else lp.split(':')
|
lds = lp.split(';') if sys.platform in ('win32') else lp.split(':')
|
||||||
|
|
Loading…
Reference in a new issue