Initiate packetization of Testing reporting
[releng.git] / utils / test / reporting / 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 # pylint: disable=missing-docstring
11
12 import setuptools
13
14 # In python < 2.7.4, a lazy loading of package `pbr` will break
15 # setuptools if some other modules registered functions in `atexit`.
16 # solution from: http://bugs.python.org/issue15881#msg170215
17 try:
18     import multiprocessing  # noqa
19 except ImportError:
20     pass
21
22 setuptools.setup(
23     setup_requires=['pbr>=1.8'],
24     pbr=True)