Skip to content

Commit

Permalink
[522] added a quick start section to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
james.adams committed Jun 29, 2023
1 parent 2ddf03d commit 19ed48a
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,32 @@ with the following goals in mind:
best practices


Getting started
Quick Start
---------------
::

Installation from PyPI
# create and activate a Python virtual environment with conda
conda create -n myvenv poetry pytest
conda activate myvenv

# install the package
python -m poetry install

# optionally run the unit tests suite
export NUMBA_DISABLE_JIT=1
python -m poetry run pytest


Installation
-------------
From PyPI
^^^^^^^^^^^^^^^^^^^^^^^

Install directly from PyPI::

python -m pip install climate-indices

Installation from source
From source
^^^^^^^^^^^^^^

In order to build and install the package from source we need to first install `poetry <https://python-poetry.org/>`__::
Expand Down

0 comments on commit 19ed48a

Please sign in to comment.