3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 10:05:32 +00:00
z3/src/api/python
Oskar Haarklou Veileborg b4295620b3
Add __enter__ and __exit__ methods on Optimize class (#7477)
This enables the use of the with statement for the Optimize class to
concisely call push() and pop(). This works similarly to the Solver
class.
2024-12-13 09:19:04 -08:00
..
z3 Add __enter__ and __exit__ methods on Optimize class (#7477) 2024-12-13 09:19:04 -08:00
.gitignore Minor tweaks to make things more reliable/less obnoxious 2016-09-14 01:49:37 -07:00
CMakeLists.txt cmake: Use FindPython3. (#7019) 2023-11-27 11:20:21 +01:00
MANIFEST.in MANIFEST.in will now include pyproject.toml (#5979) 2022-04-15 19:53:16 +02:00
pyproject.toml Fix nightly (#7365) 2024-09-03 16:11:42 -07:00
README.txt fix #2131 2019-02-10 10:07:24 -08:00
setup.py fix typos POLING -> POLLING in setup.py and remove unused CFLAGS 2024-11-21 11:32:38 -08:00
z3test.py fix python for 3.x 2016-09-22 22:24:43 -07:00

On Windows, to build Z3, you should executed the following command
in the Z3 root directory at the Visual Studio Command Prompt

       msbuild /p:configuration=external

If you are using a 64-bit Python interpreter, you should use

       msbuild /p:configuration=external /p:platform=x64


On Linux and macOS, you must install python bindings, before trying example.py.
To install python on Linux and macOS, you should execute the following
command in the Z3 root directory

        sudo make install-z3py