]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Updated from global requirements
authorOpenStack Proposal Bot <openstack-infra@lists.openstack.org>
Wed, 30 Apr 2014 02:41:29 +0000 (02:41 +0000)
committerOpenStack Proposal Bot <openstack-infra@lists.openstack.org>
Wed, 30 Apr 2014 02:41:29 +0000 (02:41 +0000)
Change-Id: I6090b1bde89b25eaa1aea94024b7f4225375e65e

setup.py

index 70c2b3f32bd6d483261621bda3ec22edcb33dc43..736375744d94f6f122f98fab48b8fc77b13d8bec 100644 (file)
--- a/setup.py
+++ b/setup.py
 # 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)