Skip to content

Commit

Permalink
debug actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ruaronicola committed Sep 27, 2023
1 parent 79e8fd8 commit 89a5b37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions resources/yices_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,9 @@ def loadYices():
global libyicespath
error_msg = "Yices dynamic library not found."
# attempt loading yices from both $PATH and default install location
print(f'{os.environ.get("PATH")=}')
print(f'{os.environ.get("PYTHONPATH")=}')
print(f'{os.environ.get("VIRTUAL_ENV")=}')
print(f'{sys.path=}')
with open("/tmp/syspath", "w") as f:
f.write(f"{sys.path=}\n")
# import time; time.sleep(100)
for path in sys.path + ['/usr/local/lib']:
if _loadYicesFromPath(path, libyicespath):
return
Expand Down
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ python -c "import sys; print(sys.path)"
cp $GREED_DIR/resources/yices_api.py yices2_python_bindings/yices_api.py
which python
which pip
python -m site
pip --version
pip install -e yices2_python_bindings
yices_python_info
cat /tmp/syspath

########################################################################################################################
########################################################################################################################
Expand Down

0 comments on commit 89a5b37

Please sign in to comment.