Skip to content

Commit 373d72e

Browse files
author
OpenStack Proposal Bot
committed
Updated from global requirements
Change-Id: I6090b1bde89b25eaa1aea94024b7f4225375e65e
1 parent ffd0774 commit 373d72e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup.py

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
1818
import setuptools
1919

20+
# In python < 2.7.4, a lazy loading of package `pbr` will break
21+
# setuptools if some other modules registered functions in `atexit`.
22+
# solution from: http://bugs.python.org/issue15881#msg170215
23+
try:
24+
import multiprocessing # noqa
25+
except ImportError:
26+
pass
27+
2028
setuptools.setup(
2129
setup_requires=['pbr'],
2230
pbr=True)

0 commit comments

Comments
 (0)