rasterframes icon indicating copy to clipboard operation
rasterframes copied to clipboard

Create mechanism for synchronizing version in JVM and Python builds

Open metasim opened this issue 6 years ago • 3 comments

Things like project version, project description, spark version. etc.

Suggest creating a class called org.locationtech.rasterframes.Info having a static main method whereby command-line invocation of the .jar will provide values from RFBuildInfo. setup.py could then run the .jar and get the settings defined by sbt.

metasim avatar Jun 20 '19 14:06 metasim

Depends on #144

metasim avatar Jun 20 '19 14:06 metasim

NB: setup.py would be responsible for writing out __version__.py, or however else the Python build wants to do based on the values in RFBuildInfo.

metasim avatar Jun 20 '19 14:06 metasim

I think it's fine if there is a cross-platform executable that setup.py can run.

Some food for thought on how to maintain version info on the python side. https://packaging.python.org/guides/single-sourcing-package-version/

vpipkt avatar Jun 24 '19 12:06 vpipkt