Fix for test_remove_vnf failing in Heal VDU
[osm/LCM.git] / osm_lcm / __init__.py
index 3cf7857..b21755a 100644 (file)
 ##
 
 # version moved to lcm.py. uncomment if LCM is installed as library and installed
-version = '6.0.2.post10'
-version_date = '2019-10-08'
+version = "7.0.1.post18"
+version_date = "2020-04-08"
+
+# Try to get version from package using pkg_resources (available with setuptools)
+try:
+    from pkg_resources import get_distribution
+
+    version = get_distribution("osm_lcm").version
+except Exception:
+    pass