skyline-console/skyline_console/version.py
zhu.boxiang 43aabd55d7 chore: Remove poetry
1. remove poetry dependency
2. add requirements.tx, test-requirements.txt, setup.py and setup.cfg
3. add more env into tox.ini
4. add version.py

Change-Id: I00a008a73e4f0676dd846dd1ee8ad460f0842965
2022-05-25 17:15:01 +08:00

24 lines
900 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_CONSOLE_VENDOR = "OpenStack Foundation"
SKYLINE_CONSOLE_PRODUCT = "OpenStack Skyline Console"
SKYLINE_CONSOLE_PACKAGE = None # OS distro package version suffix
loaded = False
version_info = pbr_version.VersionInfo('skyline-console')
version_string = version_info.version_string