X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=d0131019f4bd416f0d748edf54cdf1d06b4f3f12;hb=a5ae90b046fc9760c542832e4543d4c4790f869a;hp=2bcc9a8296912c150e79d79e843e13eb786079a5;hpb=c61e7813da16b2dc42d7ca4f625efe720096ab54;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 2bcc9a8..d013101 100644 --- a/osm_lcm/__init__.py +++ b/osm_lcm/__init__.py @@ -13,5 +13,12 @@ ## # version moved to lcm.py. uncomment if LCM is installed as library and installed -version = '6.0.3.post20' -version_date = '2019-11-28' +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