Fix pbr installation issues

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud (Strider) 2020-03-05 10:44:48 +01:00
parent e9a331b0ed
commit 59a9e69f47
No known key found for this signature in database
GPG Key ID: 4119D0305C651D66
3 changed files with 6 additions and 10 deletions

View File

@ -5,7 +5,7 @@ description-file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/tripleo-validations/latest/
home-page = https://opendev.org/openstack/validations-common
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@ -17,6 +17,10 @@ classifier =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]
packages =
validations_common

View File

@ -16,14 +16,6 @@
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)

View File

@ -15,4 +15,4 @@
import pbr.version
__version__ = pbr.version.VersionInfo('tripleo-validations')
__version__ = pbr.version.VersionInfo('validations-common')