skyline-apiserver/skyline_apiserver/version.py
zhu.boxiang 193f2ed6c7 refactor: Use pbr to get package version
1. use pbr to get package version
2. update the dependencies' version

Change-Id: If221a54a2eecbca76c212838fddef272bfd48484
2022-05-30 14:42:53 +08:00

24 lines
910 B
Python

# Copyright 2022 99cloud
#
# 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.
from pbr import version as pbr_version
SKYLINE_APISERVER_VENDOR = "OpenStack Foundation"
SKYLINE_APISERVER_PRODUCT = "OpenStack Skyline APIServer"
SKYLINE_APISERVER_PACKAGE = None # OS distro package version suffix
loaded = False
version_info = pbr_version.VersionInfo("skyline-apiserver")
version_string = version_info.version_string