Fix bug 1442: set SDN target in vim_info for NS VLD
[osm/LCM.git] / osm_lcm / __init__.py
index b824047..d013101 100644 (file)
 ##
 
 # version moved to lcm.py. uncomment if LCM is installed as library and installed
-version = '6.0.3.post6'
-version_date = '2018-10-16'
+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