summaryrefslogtreecommitdiffstats
path: root/testapi/setup.py
blob: dd52373fdcf599693d0193ccb085025e029f2640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
import subprocess

import setuptools

__author__ = 'serena'

try:
    import multiprocessing  # noqa
except ImportError:
    pass

dirpath = os.path.dirname(os.path.abspath(__file__))
subprocess.call(['ln', '-s',
                 '{}/3rd_party/static'.format(dirpath),
                 '{}/opnfv_testapi/static'.format(dirpath)])

setuptools.setup(
    setup_requires=['pbr==2.0.0'],
    pbr=True)