bug fix: installation of node, bower and grunt for reporting docker
[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 import setuptools
12
13 # In python < 2.7.4, a lazy loading of package `pbr` will break
14 # setuptools if some other modules registered functions in `atexit`.
15 # solution from: http://bugs.python.org/issue15881#msg170215
16 try:
17     import multiprocessing  # noqa
18 except ImportError:
19     pass
20
21 setuptools.setup(
22     setup_requires=['pbr>=1.8'],
23     pbr=True)