Reformat NBI to standardized format
[osm/NBI.git] / osm_nbi / __init__.py
index 59d427d..3bfe160 100644 (file)
 # under the License.
 ##
 
 # under the License.
 ##
 
-version = '7.0.0.post4'
-version_date = '2019-01-14'
+version = "7.0.1.post23"
+version_date = "2020-04-17"
 
 
+# Obtain installed package version. Ignore if error, e.g. pkg_resources not installed
+try:
+    from pkg_resources import get_distribution
+
+    version = get_distribution("osm_nbi").version
+except Exception:
+    pass