Fix bug #1077 slice instantiation with ssh_keys option
[osm/NBI.git] / osm_nbi / __init__.py
index 1e02f66..7bd5b6b 100644 (file)
 # under the License.
 ##
 
-version = '6.0.2.post1'
-version_date = '2018-08-30'
+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