mirror of
https://github.com/Z3Prover/z3
synced 2025-11-01 20:17:52 +00:00
improved z3py installation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
12882f865f
commit
44a98920d1
14 changed files with 33 additions and 96 deletions
|
|
@ -350,7 +350,7 @@ uninstall:
|
|||
@rm -f $(PREFIX)/include/z3_macros.h
|
||||
@rm -f $(PREFIX)/include/z3++.h
|
||||
|
||||
install-python: $(BIN_DIR)/lib$(Z3).@SO_EXT@
|
||||
install-z3py: $(BIN_DIR)/lib$(Z3).@SO_EXT@
|
||||
@if test $(HAS_PYTHON) -eq 0; then echo "Python is not available in your system."; exit 1; fi
|
||||
@echo "Installing Python bindings at $(PYTHON_PACKAGE_DIR)."
|
||||
@$(PYTHON) python/example.py > /dev/null
|
||||
|
|
@ -363,7 +363,7 @@ install-python: $(BIN_DIR)/lib$(Z3).@SO_EXT@
|
|||
@cp $(BIN_DIR)/lib$(Z3).@SO_EXT@ $(PYTHON_PACKAGE_DIR)
|
||||
@if python python/z3test.py; then echo "Z3Py was successfully installed."; else echo "Failed to execute Z3Py regressions..."; exit 1; fi
|
||||
|
||||
uninstall-python:
|
||||
uninstall-z3py:
|
||||
@if test $(HAS_PYTHON) -eq 0; then echo "Python is not available in your system."; exit 1; fi
|
||||
@echo "Uninstalling Python bindings from $(PYTHON_PACKAGE_DIR)."
|
||||
@rm -f $(PYTHON_PACKAGE_DIR)/z3.pyc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue