Closed delgadom closed 4 years ago
If need to keep a __version__
attribute in your init.py, xarray
has an example of doing this with pkg_resources.get_distribution()
at https://github.com/pydata/xarray/blob/e1dafe676812409834ccac3418ecf47600b00615/xarray/__init__.py#L33
https://github.com/pypa/setuptools_scm
Features:
H/T @brews for the rec