Skip to content

Commit

Permalink
gh-470: instructions to install using conda
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jan 17, 2025
1 parent 8521dde commit 81f4391
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- Essentials -->

[![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)

Expand Down Expand Up @@ -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:

Expand Down
10 changes: 9 additions & 1 deletion docs/manual/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------------------
Expand All @@ -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`.

Expand Down

0 comments on commit 81f4391

Please sign in to comment.