return op_id on asynchronous delete
[osm/NBI.git] / osm_nbi / __init__.py
index 1be799c..2c895ce 100644 (file)
 # under the License.
 ##
 
-version = '6.0.3.post15'
-version_date = '2018-10-17'
+version = '7.0.1.post17'
+version_date = '2019-03-31'
+
+# 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