From 3d9f58519e08f4c668564b39d6396db1af67c267 Mon Sep 17 00:00:00 2001 From: Matthew Stadelman Date: Fri, 31 Mar 2017 22:46:35 -0400 Subject: [PATCH] Add conda-forge installation snippet --- README | 6 ++++++ README.rst | 8 +++++++- docs/getting.rst | 4 +++- docs/index.rst | 6 ++++++ 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/README b/README index 99e9ff6..03fa35f 100644 --- a/README +++ b/README @@ -43,6 +43,12 @@ To install Pint, simply: $ pip install pint +or utilizing conda with, the conda-forge channel: + +.. code-block:: bash + + $ conda install -c conda-forge pint + and then simply enjoy it! diff --git a/README.rst b/README.rst index fc11925..86f5367 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ :target: https://travis-ci.org/hgrecco/pint :alt: CI -.. image:: https://coveralls.io/repos/github/hgrecco/pint/badge.svg?branch=master +.. image:: https://coveralls.io/repos/github/hgrecco/pint/badge.svg?branch=master :target: https://coveralls.io/github/hgrecco/pint?branch=master :alt: Coverage @@ -72,6 +72,12 @@ To install Pint, simply: $ pip install pint +or utilizing conda, with the conda-forge channel: + +.. code-block:: bash + + $ conda install -c conda-forge pint + and then simply enjoy it! diff --git a/docs/getting.rst b/docs/getting.rst index a1f19ea..d34054d 100644 --- a/docs/getting.rst +++ b/docs/getting.rst @@ -18,7 +18,9 @@ That's all! You can check that Pint is correctly installed by starting up python .. note:: If you have an old system installation of Python and you don't want to mess with it, you can try `Anaconda CE`_. It is a free Python distribution by - Continuum Analytics that includes many scientific packages. + Continuum Analytics that includes many scientific packages. To install pint + from the conda-forge channel instead of through pip use: + $ conda install -c conda-forge pint You can check the installation with the following command: diff --git a/docs/index.rst b/docs/index.rst index 70aa6f5..3d8d379 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -49,6 +49,12 @@ To install Pint, simply: $ pip install pint +or utilizing conda, with the conda-forge channel: + +.. code-block:: bash + + $ conda install -c conda-forge pint + and then simply enjoy it!