X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=0a279ad4d040e2b75929884135e80b4e52b7c313;hb=refs%2Fchanges%2F89%2F8589%2F1;hp=7fd7d55ce26c4091aa2365a49236d7128d8fe45b;hpb=7ab529a15d7b441e5338eaea0f2f567fe67cd34c;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 7fd7d55..0a279ad 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.2.post1' -version_date = '2018-08-30' +version = '7.0.0.post10' +version_date = '2020-01-14' + +# 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