X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_nbi%2F__init__.py;h=8b1299c2b5aef379d3af1f5aecbe5db18edb7afa;hb=7a69811f7292bf0e43a4a5ac76aa9d2a488702da;hp=59d427d611be9056cc6a255fe7622fe5cba0b42b;hpb=a8186a5a72a86aba974651abcf7e08ec454fe53d;p=osm%2FNBI.git diff --git a/osm_nbi/__init__.py b/osm_nbi/__init__.py index 59d427d..8b1299c 100644 --- a/osm_nbi/__init__.py +++ b/osm_nbi/__init__.py @@ -12,6 +12,12 @@ # under the License. ## -version = '7.0.0.post4' -version_date = '2019-01-14' +version = '7.1.0.post1' +version_date = '2020-05-05' +# Obtain installed package version. Ignore if error, e.g. pkg_resources not installed +try: + from pkg_resources import get_distribution + version = get_distribution("osm_nbi").version +except Exception: + pass