We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffd0774 commit 373d72eCopy full SHA for 373d72e
setup.py
@@ -17,6 +17,14 @@
17
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
18
import setuptools
19
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
+
28
setuptools.setup(
29
setup_requires=['pbr'],
30
pbr=True)
0 commit comments