mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
Slightly improve Z3_LIBRARY_PATH error message (#6895)
This commit is contained in:
parent
3aea4ebf42
commit
0a444f357a
|
@ -1887,10 +1887,10 @@ if _lib is None:
|
||||||
print(" - to the custom Z3_LIB_DIRS Python-builtin before importing the z3 module, e.g. via")
|
print(" - to the custom Z3_LIB_DIRS Python-builtin before importing the z3 module, e.g. via")
|
||||||
if sys.version < '3':
|
if sys.version < '3':
|
||||||
print(" import __builtin__")
|
print(" import __builtin__")
|
||||||
print(" __builtin__.Z3_LIB_DIRS = [ '/path/to/libz3.%s' ] " % _ext)
|
print(" __builtin__.Z3_LIB_DIRS = [ '/path/to/z3/lib/dir' ] \# directory containing libz3.%s" % _ext)
|
||||||
else:
|
else:
|
||||||
print(" import builtins")
|
print(" import builtins")
|
||||||
print(" builtins.Z3_LIB_DIRS = [ '/path/to/libz3.%s' ] " % _ext)
|
print(" builtins.Z3_LIB_DIRS = [ '/path/to/z3/lib/dir' ] \# directory containing libz3.%s" % _ext)
|
||||||
print(_failures)
|
print(_failures)
|
||||||
raise Z3Exception("libz3.%s not found." % _ext)
|
raise Z3Exception("libz3.%s not found." % _ext)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue