summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-05-07 16:40:43 +0000
committerGerrit Code Review <review@openstack.org>2014-05-07 16:40:43 +0000
commit52617e555e0002ae870e3b6ea018121fb23f51d8 (patch)
treeea7c7a94fab0a585f5ff56a0c07be841802574c2
parentea4d4da825e6e1a1a9afd06747dfb90519244cc6 (diff)
parentb30bf3ffdf52f9489f9bb4bbd78f54694bb5e54d (diff)
downloadoslotest-52617e555e0002ae870e3b6ea018121fb23f51d8.tar.gz
Merge "Updated from global requirements"
-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)