Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
Clarified Installation section and added example of call to ```pysmt-install --env```.

Thanks to Marco Roveri (@marcoroveri) for pointing out this.
  • Loading branch information
Marco Gario committed Oct 28, 2016
1 parent fb75235 commit 5740200
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,22 @@ The script *pysmt-install* can be used to simplify the installation of the solve

$ pysmt-install --msat

will install MathSAT 5. This script does not install required
will install MathSAT 5. Once the installation is complete, you
can use the option ``--env`` to obtain a string to update your
``PYTHONPATH``::

$ pysmt-install --env
export PYTHONPATH="/home/pysmt/.smt_solvers/python-bindings-2.7:${PYTHONPATH}"

By default the solvers are installed in your home directory in the
folder ``.smt_solvers``. ``pysmt-install`` has many options to
customize its behavior.

*Note:* This script does not install required
dependencies for building the solver (e.g., make or gcc) and has been
tested mainly on Linux Debian/Ubuntu systems. We suggest that you
refer to the documentation of each solver to understand how to install
it with its python bindings. Nevertheless, we try to keep
*pysmt/cmd/install.py* as readable and documented as possible.
it with its python bindings.

For Yices, picosat, and CUDD, we use external wrappers:

Expand All @@ -152,6 +162,11 @@ For Yices, picosat, and CUDD, we use external wrappers:
For instruction on how to use any SMT-LIB complaint solver with pySMT
see `examples/generic_smtlib.py </examples/generic_smtlib.py>`_

For more information, refer to online `documentation on ReadTheDocs <http://pysmt.readthedocs.io>`_

Solvers Support
---------------

The following table summarizes the features supported via pySMT for
each of the available solvers.

Expand Down

0 comments on commit 5740200

Please sign in to comment.