You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

  1. Installation
  2. ***********************
  3. Requirements
  4. Before installing stormpy, make sure
  5. `pycarl <https://moves-rwth.github.io/pycarl>`_
  6. `storm <https://moves-rwth.github.io/storm/>`_
  7. are both available on your system. To avoid issues, we suggest that both use the same version of `carl <https://smtrat.github.io/carl>`_.
  8. The simplest way of ensuring this is to first install carl as explained in the `storm installation guide <https://moves-rwth.github.io/storm/documentation/installation.md#carl>_'.
  9. You can then install storm and pycarl independently.
  10. Clone stormpy into any suitable location::
  11. $ git clone https://srv-i2.informatik.rwth-aachen.de/scm/git/stormpy.git
  12. $ cd stormpy
  13. Here, build stormpy in develop mode using your favourite python distribution way of installing: e.g.::
  14. $ python3 setup.py develop
  15. or::
  16. $ pip install -ve .
  17. .. topic:: Specifying which storm library to use
  18. If you have multiple versions of storm or cmake is not able to find your storm version,
  19. you can specify the `--storm-DIR YOUR-PATH-TO-STORM` flag in the build_ext step::
  20. $ python3 setup.py build_ext --storm-DIR YOUR-PATH-TO-STORM develop
  21. After building, you can run the test files by::
  22. py.test tests/