diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-04 15:57:23 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-04 18:12:46 +0800 |
commit | 97efa7cdf6ea87ec654ca3c6027dbe44b993b176 (patch) | |
tree | 99a071f0bbf33e574789c035ee45f84cf1fa559d /testapi/opnfv_testapi/common | |
parent | abe314746516e465e85474aadc5c1e3d9a86d2fe (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 'testapi/opnfv_testapi/common')
-rw-r--r-- | testapi/opnfv_testapi/common/config.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testapi/opnfv_testapi/common/config.py b/testapi/opnfv_testapi/common/config.py index 4cd53c6..0b85f4e 100644 --- a/testapi/opnfv_testapi/common/config.py +++ b/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): |