X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=0a279ad4d040e2b75929884135e80b4e52b7c313;hb=refs%2Fchanges%2F78%2F8678%2F2;hp=b824047538db189a4292f9aa04dfb5426f7b7dcb;hpb=f210c1c8a326d56fea613c7c7c1ff3f17dd5901c;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index b824047..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.3.post6' -version_date = '2018-10-16' +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