X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=4410388d87e859edf0cee449859c0a32c2267e89;hb=430008e433cc6ce98fa7312686be014f8388d5fe;hp=2bcc9a8296912c150e79d79e843e13eb786079a5;hpb=c61e7813da16b2dc42d7ca4f625efe720096ab54;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 2bcc9a8..4410388 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 = '8.0.0.post1' +version_date = '2020-07-01' + +# 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