Skip to content

Commit

Permalink
Update the instructions for testing pygmt install (#459)
Browse files Browse the repository at this point in the history
- Clean up unnecessary packages for testing. Only pytest, pytest-mpl and ipython are needed
- Add `pygmt.print_clib_info()` for testing
  • Loading branch information
seisman committed May 26, 2020
1 parent 292c060 commit 52c2d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ PyGMT ships with a full test suite.
You can run our tests after you install it but you will need a few extra dependencies as
well (be sure to have your conda env activated)::

conda install pytest pytest-mpl sphinx jinja2 docutils ipython
conda install pytest pytest-mpl ipython

Test your installation by running the following inside a Python interpreter::

import pygmt
pygmt.print_clib_info()
pygmt.test()


Expand Down

0 comments on commit 52c2d13

Please sign in to comment.