Updated from global requirements

Change-Id: Id5a731fafc47319159795c558280e9cb6154bf2b
This commit is contained in:
OpenStack Proposal Bot 2017-11-03 18:00:00 +00:00
parent 705339b5e8
commit ef9f5a6d82
1 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python
# Copyright (c) 2016 Internap Inc.
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -15,8 +14,16 @@
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(setup_requires=['pbr'],
pbr=True)
# 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)