summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorOpenStack Proposal Bot <openstack-infra@lists.openstack.org>2014-09-10 07:39:01 +0000
committerOpenStack Proposal Bot <openstack-infra@lists.openstack.org>2014-09-10 07:39:01 +0000
commita2cdee68fd748cb09b1224243db77e1f7d2f2ac9 (patch)
tree3bbe17764a766073906c04203d80faa531160fdf /setup.py
parent47aa3e2d11e00bcc9f0f1012c4b317dc5073c68d (diff)
downloadoslo-middleware-a2cdee68fd748cb09b1224243db77e1f7d2f2ac9.tar.gz
Updated from global requirements0.1.0
Change-Id: I6ba0a580547d52534517c50a2367ee111d0f0aef
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 70c2b3f..7363757 100755
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,14 @@
# 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'],
pbr=True)