locationtech / rasterframes

Geospatial Raster support for Spark DataFrames
http://rasterframes.io
Apache License 2.0
240 stars 46 forks source link

Synchronize PEP 440 version with Maven/SBT #480

Closed metasim closed 4 years ago

metasim commented 4 years ago

Partial addressing of #459. pyrasterframes version numbers should be in sync with sbt, and PEP 440 compliant. At least for the cases we normally encounter.

metasim commented 4 years ago

Generated version numbers were tested manually with Python constructs such as this:

>>> import packaging.version
>>> v = packaging.version.parse("0.9.0.dev+astraea.d895bbf")
>>> v.base_version
'0.9.0'
>>> v.is_devrelease
True
>>> v.local
'astraea.d895bbf'