X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=d0131019f4bd416f0d748edf54cdf1d06b4f3f12;hb=6500339f6d90776325acc9973f0c8243b62b9439;hp=3a64a63e5acbf529968b2143d9960dfaf43e937e;hpb=da6fb108bb31d9ee12c1f0e5bb44936330cc99a7;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 3a64a63..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.post12' -version_date = '2019-11-23' +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