Skip to content

Commit

Permalink
updating install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Oct 29, 2019
1 parent 2adf97a commit 1c2083c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions docs/user/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ All you'll need `numpy <https://numpy.org/>`_.
instructions in :ref:`source`.


Dependencies
------------

On some systems, it can be useful to install the dependencies first:

.. code-block:: bash
pip install -U pip
pip install -U setuptools setuptools_scm
Package managers
----------------

Expand All @@ -18,7 +29,7 @@ The easiest way to install the stable version of emcee is using

.. code-block:: bash
pip install emcee
pip install -U emcee
# or...
conda install -c conda-forge emcee
Expand All @@ -36,7 +47,7 @@ source repository and install from there
git clone https://github.com/dfm/emcee.git
cd emcee
python setup.py install
pip install .
Test the installation
Expand All @@ -51,7 +62,7 @@ directory of the source code:

.. code-block:: bash
py.test -v tests
pytest -v src/emcee/tests
This might take a few minutes but you shouldn't get any errors if all went
as planned.

0 comments on commit 1c2083c

Please sign in to comment.