diff options
Diffstat (limited to 'testapi/setup.py')
-rw-r--r-- | testapi/setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/testapi/setup.py b/testapi/setup.py index f689cb3..dd52373 100644 --- a/testapi/setup.py +++ b/testapi/setup.py @@ -1,5 +1,7 @@ -import setuptools +import os +import subprocess +import setuptools __author__ = 'serena' @@ -8,6 +10,11 @@ try: 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) |