diff --git a/README.md b/README.md index d050615f..c61cdc25 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![PyPI](https://img.shields.io/pypi/v/glass)](https://pypi.org/project/glass) +[![Conda Version](https://img.shields.io/conda/vn/conda-forge/glass.svg)](https://anaconda.org/conda-forge/glass) [![Documentation](https://readthedocs.org/projects/glass/badge/?version=stable)](https://glass.readthedocs.io/stable) [![LICENSE](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) @@ -30,12 +31,18 @@ to get you started. ## Installation -Releases of the code can be installed with pip as usual: +Releases of the code can be installed with pip: ```sh pip install glass ``` +or conda: + +```sh +conda install -c conda-forge glass +``` + If you are interested in the latest version of the code, you can pip-install this repository: diff --git a/docs/manual/installation.rst b/docs/manual/installation.rst index 02cf1555..a3deb301 100644 --- a/docs/manual/installation.rst +++ b/docs/manual/installation.rst @@ -17,10 +17,14 @@ and then see what is available in your package manager. Install the current release --------------------------- -To install the current *GLASS* release, use the pip package:: +To install the current *GLASS* release, use pip:: $ pip install glass +or conda:: + + $ conda install -c conda-forge glass + Install a specific release -------------------------- @@ -29,6 +33,10 @@ To install the a specific *GLASS* release, pass the version number to pip:: $ pip install glass==2023.1 +or conda:: + + $ conda install -c conda-forge glass==2023.1 + For a list of released versions and their respective changes, see the :doc:`releases`.