X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=4410388d87e859edf0cee449859c0a32c2267e89;hb=072b1ce375d593ad1372ea974319e11ea28153f6;hp=3cf78570833961da1b055bd71409581fb36e36c4;hpb=7e13aeb658ef55a15c80a737ea201ac896a13114;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 3cf7857..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.2.post10' -version_date = '2019-10-08' +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