brandon-rhodes / python-jplephem

Python version of NASA DE4xx ephemerides, the basis for the Astronomical Alamanac
MIT License
110 stars 29 forks source link

Expose version as __version__ #47

Closed pllim closed 3 years ago

pllim commented 3 years ago

Hello! Would be nice if downstream packages can check for jplephem.__version__ instead of relying on the change log text within __init__.py. This could be accomplished using setuptools_scm or other means as you see fit. Thanks!

xref astropy/astropy#11700

brandon-rhodes commented 3 years ago

Good idea! I've added it, and it should appear with the next release.

pllim commented 3 years ago

Thank you for the quick fix!