X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2F__init__.py;h=7fba7de1c6e75ba7a46d3ba09ff72c8298c251b5;hb=042ce8b4b0f291dac1d941ab66c9f040b98efd7b;hp=3cf78570833961da1b055bd71409581fb36e36c4;hpb=7e13aeb658ef55a15c80a737ea201ac896a13114;p=osm%2FLCM.git diff --git a/osm_lcm/__init__.py b/osm_lcm/__init__.py index 3cf7857..7fba7de 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 = '7.1.0.post1' +version_date = '2020-05-07' + +# 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