diff --git a/doc/api/index.rst b/doc/api/index.rst index 646fb49886a..5cf28bb3ebb 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -203,7 +203,6 @@ Miscellaneous :toctree: generated which - print_clib_info show_versions .. currentmodule:: pygmt diff --git a/pygmt/__init__.py b/pygmt/__init__.py index 3eac6ee579d..efc0ea9baa5 100644 --- a/pygmt/__init__.py +++ b/pygmt/__init__.py @@ -77,21 +77,6 @@ _atexit.register(_end) -def print_clib_info(file=sys.stdout): - """ - Print information about the GMT shared library that we can find. - - Includes the GMT version, default values for parameters, the path to the - ``libgmt`` shared library, and GMT directories. - """ - from pygmt.clib import Session - - print("GMT library information:", file=file) - with Session() as ses: - lines = [f" {key}: {ses.info[key]}" for key in sorted(ses.info)] - print("\n".join(lines), file=file) - - def show_versions(file=sys.stdout): """ Print various dependency versions which are useful when submitting bug reports.