@@ -28,7 +28,7 @@ If you would like a more feature-complete---yet verbose---python API, with the a
28
28
You can compare examples using the two APIs by visiting the :doc: `examples page <../../examples/quickstart >`.
29
29
30
30
31
- Installation (x86-64 variants of Linux and macOS )
31
+ Installation (from PyPi )
32
32
------------
33
33
34
34
The base and pythonic Python API can be installed via `pip ` as follows:
@@ -38,27 +38,22 @@ The base and pythonic Python API can be installed via `pip` as follows:
38
38
pip install cvc5
39
39
40
40
41
- Installation (ARM64 variants of Linux and macOS )
41
+ Installation (from source )
42
42
------------
43
43
44
- For ARM64-based machines (including Apple computers with M1 and M2 chips), the base and the pythonic Python API can be installed from source.
45
- Before building and installing, the following dependencies should be installed, using `brew ` and `pip `:
44
+ The base and pythonic Python API can also be installed from source following these steps:
46
45
47
46
.. code :: bash
48
47
49
- brew install cmake python gmp java
50
-
51
-
52
- Then `cvc5 ` can be installed from source as follows:
53
-
54
- .. code :: bash
55
-
56
- git clone [email protected] :cvc5/cvc5.git
48
+ git clone https://github.com/cvc5/cvc5.git
57
49
cd cvc5
58
50
./configure.sh --python-bindings --auto-download
59
51
cd build
60
- make cvc5_python_api # add -jN for parallel build using N threads
61
- export PYTHONPATH=" <path-to-local-cvc5-repo>/build/src/api/python/:$PYTHONPATH "
52
+ make # add -jN for parallel build using N threads
53
+ make install
54
+
55
+ For Windows, the steps above must be executed on a MINGW64 environment
56
+ (see the `installation instructions <../../installation/installation> `).
62
57
63
58
And to make sure that it works:
64
59
0 commit comments