NRLMMD-GEOIPS / geoips

Main Geolocated Information Processing System code base with basic functionality enabled.
https://nrlmmd-geoips.github.io/geoips/
Other
13 stars 10 forks source link

``geoips get package`` should include additional metadata #579

Closed evrose54 closed 2 weeks ago

evrose54 commented 1 month ago

Requested Update

Description

geoips get package includes a lot of good information, but we could improve on this. We should update this command to include additional package metadata like: version_number, author, source_link, etc. This way, we expose more information about the package and users get a better sense of what they're using, and where it came from.

Background and Motivation

This stems from a conversation held about #444.

Alternative Solutions

Environment

Code to demonstrate issue

GeoipsGetPackage in geoips_get.py.

jsolbrig commented 1 month ago

This can probably be done at the same time as #571. The information should be available via importlib.metadata.

evrose54 commented 1 month ago

To get the version of a package, all you need to do is:

from import.metadata import version

version("geoips") # currently is '1.12.2.post126.dev0'
version("recenter_tc") # currently is '1.12.2a0'
...
jsolbrig commented 2 weeks ago

This appears to be complete with #465