diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-08-27 14:56:27 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-08-27 14:56:27 +0000 |
commit | 0289a61f6271281f7af616faf6fbcf8ca47df0d5 (patch) | |
tree | f0a4cc0ee92931230707c0dd589e2dd2e48b02f6 /setup.py | |
parent | dfdbfe23bd955ecc69f7a79c748fd2ffac503075 (diff) | |
parent | c213ffda17d09a68fdbb619ba6db4b8a101e85a9 (diff) | |
download | python-swiftclient-stable/juno.tar.gz |
Merge "Update from global requirements" into stable/junojuno-eol2.3.2stable/juno
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,6 +16,14 @@ # 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) |