summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/testapi/setup.py')
-rw-r--r--utils/test/testapi/setup.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/utils/test/testapi/setup.py b/utils/test/testapi/setup.py
index 15dda961f..dd52373fd 100644
--- a/utils/test/testapi/setup.py
+++ b/utils/test/testapi/setup.py
@@ -1,9 +1,20 @@
-import setuptools
+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>=1.8'],
+ setup_requires=['pbr==2.0.0'],
pbr=True)