diff --git a/doc/install.rst b/doc/install.rst index 582825c253f..b3e98b7ecd6 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -218,6 +218,11 @@ This installs the latest stable release from pip install pygmt +.. tip:: + + You can also run ``pip install pygmt[all]`` to install pygmt with + all of its optional dependencies. + Alternatively, you can install the latest development version from `TestPyPI `__:: diff --git a/pyproject.toml b/pyproject.toml index 66b60280c6d..977e9e21230 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,12 @@ dependencies = [ ] dynamic = ["version"] +[project.optional-dependencies] +all = [ + "geopandas", + "ipython" +] + [project.urls] homepage = "https://www.pygmt.org" documentation = "https://www.pygmt.org"