From 0b087ed645c0cd125cf5c6198f2bf115cb4de4b0 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 4 Sep 2017 15:57:23 +0800 Subject: 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 --- utils/test/testapi/opnfv_testapi/ui/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/test/testapi/opnfv_testapi/ui/root.py') diff --git a/utils/test/testapi/opnfv_testapi/ui/root.py b/utils/test/testapi/opnfv_testapi/ui/root.py index 069ad5e93..576cbddcf 100644 --- a/utils/test/testapi/opnfv_testapi/ui/root.py +++ b/utils/test/testapi/opnfv_testapi/ui/root.py @@ -5,7 +5,7 @@ from opnfv_testapi.resources import handlers class RootHandler(handlers.GenericApiHandler): def get_template_path(self): - return CONF.static_path + return CONF.ui_static_path @check.login def get(self): -- cgit 1.2.3-korg