X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2F__init__.py;h=7bd5b6bce12c034b4013644e92fbebf5bcf3d219;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=d7749588e6cc73661d052fc5bb41605e1b588128;hpb=c94c3df90aa64298a7935a80b221f80f3c043260 diff --git a/osm_nbi/__init__.py b/osm_nbi/__init__.py index e69de29..7bd5b6b 100644 --- a/osm_nbi/__init__.py +++ b/osm_nbi/__init__.py @@ -0,0 +1,23 @@ +## +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +## + +version = '7.0.1.post23' +version_date = '2020-04-17' + +# 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