Browse Source

Fix pbr installation issues

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
changes/52/712252/1
Gael Chamoulaud (Strider) 2 years ago
parent
commit
59a9e69f47
No known key found for this signature in database GPG Key ID: 4119D0305C651D66
  1. 6
      setup.cfg
  2. 8
      setup.py
  3. 2
      validations_common/__init__.py

6
setup.cfg

@ -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

8
setup.py

@ -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)

2
validations_common/__init__.py

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

Loading…
Cancel
Save