diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-06-12 08:30:23 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-06-12 21:31:43 +0200 |
commit | ff64d008bfea70efb1c8663adeb29ab175229732 (patch) | |
tree | cb34ed85ebc8418bfcb01adc3a766870882647a7 /setup.py | |
parent | 7db24e2b6994487d225c150a20f3a91d7bf12588 (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.py | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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) |