diff options
author | 2017-09-04 15:57:23 +0800 | |
---|---|---|
committer | 2017-09-04 18:12:46 +0800 | |
commit | 0b087ed645c0cd125cf5c6198f2bf115cb4de4b0 (patch) | |
tree | 401e991357638a4d5359b8c5ada0dafb076d8a9e /utils/test/testapi/opnfv_testapi/common/config.py | |
parent | bbc57916c38601769aff5650f716c9d373795c22 (diff) |
bugfix: leverage data_files to stop hacking setup.py
1) leverage data_files to distribute ui related files, and dispatch
them under /usr/local/share/opnfv_testapi
2) delete hacking coding, no more extra processes
3) utilize MANIFEST.in to include 3rd_party when producing a source distribution
Change-Id: Idb83a02be11f6b24610191e9f85e0db80d92e972
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/common/config.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/common/config.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/utils/test/testapi/opnfv_testapi/common/config.py b/utils/test/testapi/opnfv_testapi/common/config.py index 4cd53c619..0b85f4e29 100644 --- a/utils/test/testapi/opnfv_testapi/common/config.py +++ b/utils/test/testapi/opnfv_testapi/common/config.py @@ -20,10 +20,6 @@ class Config(object): self._set_config_file() self._parse() self._parse_per_page() - self.static_path = os.path.join( - os.path.dirname(os.path.normpath(__file__)), - os.pardir, - 'static') def _parse(self): if not os.path.exists(self.config_file): |