X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2F__init__.py;h=1644d0b8726042adf5cfedb20af2dd5d77bb4b91;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=2a929042e82cf1e010da9d8ff516f96159a57efd;hpb=c94c3df90aa64298a7935a80b221f80f3c043260 diff --git a/osm_nbi/__init__.py b/osm_nbi/__init__.py index e69de29..1644d0b 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.0.post11' +version_date = '2019-02-04' + +# 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