mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
API doc build fix. Related to #1350.
This commit is contained in:
parent
a173b0faf7
commit
d44d918414
|
@ -288,7 +288,14 @@ try:
|
|||
# Put z3py at the beginning of the search path to try to avoid picking up
|
||||
# an installed copy of Z3py.
|
||||
sys.path.insert(0, os.path.dirname(Z3PY_PACKAGE_PATH))
|
||||
sys.path.insert(0, os.path.dirname(BUILD_DIR))
|
||||
|
||||
if sys.version < '3':
|
||||
import __builtin__
|
||||
__builtin__.Z3_LIB_DIRS = [ BUILD_DIR ]
|
||||
else:
|
||||
import builtins
|
||||
builtins.Z3_LIB_DIRS = [ BUILD_DIR ]
|
||||
|
||||
for modulename in (
|
||||
'z3',
|
||||
'z3.z3consts',
|
||||
|
|
Loading…
Reference in a new issue