Closed evrose54 closed 2 weeks ago
This can probably be done at the same time as #571. The information should be available via importlib.metadata
.
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'
...
This appears to be complete with #465
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
ingeoips_get.py
.