aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-06-12 08:30:23 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-06-12 21:31:43 +0200
commitff64d008bfea70efb1c8663adeb29ab175229732 (patch)
treecb34ed85ebc8418bfcb01adc3a766870882647a7 /setup.py
parent7db24e2b6994487d225c150a20f3a91d7bf12588 (diff)
Update (test-)requirements.txt
It updates requirements.txt and test-requirements.txt according to OpenStack stable/ocata. It removes useless copyrights. Change-Id: I603b3030df231f210af47232f20aef85a08e20ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 460651cf..a52d9055 100644
--- a/setup.py
+++ b/setup.py
@@ -9,9 +9,16 @@
# pylint: disable=missing-docstring
-from setuptools import setup
+import setuptools
-setup(
- setup_requires=['pbr>=1.9', 'setuptools>=17.1'],
- pbr=True,
-)
+# 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>=1.8'],
+ pbr=True)