Skip to content

Commit 284f032

Browse files
authored
Merge pull request #45 from DocOtak/rcaneill-conda
Add conda and badges
2 parents eb39f87 + 8d74dff commit 284f032

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44
.. |Documentation Status| image:: https://readthedocs.org/projects/gsw-xarray/badge/?version=latest
55
:target: https://gsw-xarray.readthedocs.io/en/latest/?badge=latest
66
:alt: Documentation Status
7+
.. |pypi| image:: https://badge.fury.io/py/gsw-xarray.svg
8+
:target: https://badge.fury.io/py/gsw-xarray
9+
:alt: pypi package
10+
.. |conda forge| image:: https://img.shields.io/conda/vn/conda-forge/gsw-xarray
11+
:target: https://anaconda.org/conda-forge/gsw-xarray
712

813
gsw-xarray: Wrapper for gsw that adds CF attributes
914
===================================================
10-
|CI Status| |Documentation Status|
15+
|CI Status| |Documentation Status| |pypi| |conda forge|
1116

1217
gsw-xarray is a wrapper for `gsw python <https://github.com/TEOS-10/GSW-python>`_
1318
that will add CF attributes to xarray.DataArray outputs.
@@ -63,19 +68,18 @@ Pip
6368

6469
.. code:: bash
6570
66-
pip install gsw_xarray
71+
pip install gsw-xarray
6772
6873
6974
Conda
7075
.....
7176

72-
For the moment gsw-xarray is not released in conda-forge, so you'll
73-
need to install via pip: activate your conda environment, and then use ``pip install gsw_xarray``.
77+
Inside a conda environment: ``conda install -c conda-forge gsw-xarray``.
7478

7579
Pipenv
7680
......
7781

78-
Inside a pipenv environment: ``pipenv install gsw_xarray``.
82+
Inside a pipenv environment: ``pipenv install gsw-xarray``.
7983

8084

8185
Contributor guide

0 commit comments

Comments
 (0)