Skip to content

Commit

Permalink
Simplify TestPyPI install instructions to just extra-index-url (#1944)
Browse files Browse the repository at this point in the history
The default `--index-url` is https://pypi.org/simple, so just need to set `--extra-index-url` to point to TestPyPI.
  • Loading branch information
weiji14 authored Jun 8, 2022
1 parent e5117cb commit 25c06dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ This installs the latest stable release 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
pip install --pre --extra-index-url https://test.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.
Expand Down

0 comments on commit 25c06dc

Please sign in to comment.