Debian Codegraph @

docs/getting_started.rst

raw
1 .. _getting-started:
2
3 Getting started
4 ###############
5
6 .. highlight: bash
7
8 Installing ``pymbar``
9 =====================
10
11 This documentation covers ``pymbar`` 4. For the previous versions of pymbar, see: `pymbar 3.0.7 <https://pymbar.readthedocs.io/en/3.0.7/>`_.
12
13 conda (recommended)
14 -------------------
15
16 The easiest way to install the ``pymbar`` release is via `conda <http://conda.pydata.org>`_:
17
18 .. code-block:: console
19
20 $ conda install -c conda-forge pymbar
21
22 You can also install ``pymbar`` from the `Python package index <https://pypi.python.org/pypi/pymbar>`_ using ``pip``:
23
24 .. code-block:: console
25
26 $ pip install pymbar
27
28 Development version
29 -------------------
30
31 The development version can be installed directly from GitHub via ``pip``:
32
33 .. code-block:: console
34
35 $ pip install git+https://github.com/choderalab/pymbar.git
36
37 In beta testing, this is way to download pymbar 4.
38
39 Running the tests
40 =================
41
42 Running the tests is a great way to verify that everything is working.
43
44 The test suite uses `pytest <https://docs.pytest.org/>`_, in addition to `statsmodels <http://statsmodels.sourceforge.net/>`_ and `pytables <http://www.pytables.org/>`_, which you can install via ``conda``:
45
46 .. code-block:: console
47
48 $ conda install pytest statsmodels
49
50
51 You can then run the tests from within the `pymbar` directory with:
52
53 .. code-block:: console
54
55 $ pytest -v pymbar