GlobalFishingWatch / treniformis

Apache License 2.0
5 stars 6 forks source link

Version not available from python interface #25

Closed bitsofbits closed 7 years ago

bitsofbits commented 7 years ago

Version is (or will be soon) storedin VERSION file. Can we inject this into the __init__.py so that version is accessible.

pwoods25443 commented 7 years ago

benthos-pipeline does this in init.py like this

import pkg_resources
__version__ = pkg_resources.get_distribution('benthos-pipeline').version

see https://github.com/SkyTruth/benthos-pipeline/blob/master/benthosp/__init__.py#L9