fix 1201: for a KDU with configuration, wait for KDU up instead of deployed at RO
[osm/LCM.git] / osm_lcm / __init__.py
index 6c890b4..d013101 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