Skip to content

Commit

Permalink
Simplify PyGMT update by pip
Browse files Browse the repository at this point in the history
  • Loading branch information
core-man committed Mar 10, 2021
1 parent 4580e0d commit d5b4ed9
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,13 @@ This installs the latest stable release from

pip install pygmt

This upgrades the installed PyGMT to be the latest stable release::

pip install --upgrade pygmt

You also can install the latest development version from
Alternatively, you can install the latest development version from
`TestPyPI <https://test.pypi.org/project/pygmt>`__::

pip install --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pygmt

To upgrade the installed development version to be the latest one, just add ``--upgrade``::

pip install --upgrade --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pygmt
To upgrade the installed stable release or development version to be the latest
one, just add ``--upgrade`` to the corresponding command above.

Any of the above methods (conda/pip) should allow you to use the PyGMT package
from Python.
Expand Down

0 comments on commit d5b4ed9

Please sign in to comment.