online bottlenecks soak throughtputs
[releng.git] / modules / setup.py
1 #!/usr/bin/env python
2
3 # Copyright (c) 2017 Orange and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9
10 import setuptools
11
12 # In python < 2.7.4, a lazy loading of package `pbr` will break
13 # setuptools if some other modules registered functions in `atexit`.
14 # solution from: http://bugs.python.org/issue15881#msg170215
15 try:
16     import multiprocessing  # noqa
17 except ImportError:
18     pass
19
20 setuptools.setup(
21     setup_requires=['pbr>=2.0.0'],
22     pbr=True)