Fix for test_remove_vnf failing in Heal VDU
[osm/LCM.git] / osm_lcm / __init__.py
index 6c890b4..b21755a 100644 (file)
 ##
 
 # version moved to lcm.py. uncomment if LCM is installed as library and installed
-# version = '0.1.12'
-# version_date = '2018-08-23'
+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