kuryr-libnetwork/kuryr_libnetwork/__init__.py
Antoni Segura Puimedon af26c7edbc
versioning: let pbr handle versioning from tags
In OpenStack projects, where pbr is used, this tool generates the
versioning information from the tags. This patch moves us to use it
too.

Change-Id: Idf617e65a5970bb4e4a88a6496f06bf4be47ab5b
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2016-08-18 10:50:14 +02:00

22 lines
720 B
Python

# 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.
import pbr.version
from kuryr_libnetwork import utils
__version__ = pbr.version.VersionInfo(
'kuryr-libnetwork').version_string()
app = utils.make_json_app(__name__)