From c2226df2de6c393c948afca2c71123f3685d444d Mon Sep 17 00:00:00 2001 From: Rohan Babbar Date: Mon, 19 Aug 2024 07:20:26 +0530 Subject: [PATCH] Add docs for conda installation (#528) --- README.md | 5 +++++ docs/index.rst | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c14f2f2e..adc6dda3 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,11 @@ pip install "preliz[full,lab]" ``` pip install "preliz[full,notebook]" ``` +PreliZ is also available through [conda-forge](https://anaconda.org/conda-forge/preliz). + +``` +conda install -c conda-forge preliz +``` ### Development The latest development version can be installed from the main branch using pip: diff --git a/docs/index.rst b/docs/index.rst index ccbaf4e1..b0a8a6b9 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -56,7 +56,10 @@ PreliZ is tested on Python 3.10+. And depends on ArviZ, matplotlib, NumPy, and S Installation ============ -For the latest release (base set of dependencies) you can do: +For the latest release, you can install PreliZ either using pip or conda-forge: + +Using pip +--------- .. code-block:: bash @@ -76,6 +79,16 @@ To make use of the interactive features, you can install the optional dependenci pip install "preliz[full,notebook]" +Using conda-forge +----------------- + +.. code-block:: bash + + conda install -c conda-forge preliz + +Development +=========== + The latest development version can be installed from the main branch using pip: .. code-block:: bash