Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion doc/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ Miscellaneous
:toctree: generated

which
print_clib_info
show_versions

.. currentmodule:: pygmt
Expand Down
15 changes: 0 additions & 15 deletions pygmt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down