From 36de2cac9b7b1c869e5672efa20d112e00beb1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rud=C3=A1=20Moura?= Date: Mon, 18 May 2015 14:51:52 -0300 Subject: [PATCH] setup.py: Fix location of plugins and resources. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rudá Moura --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 07f5fa49..f96e0d19 100755 --- a/setup.py +++ b/setup.py @@ -89,7 +89,7 @@ def _get_plugin_resource_files(path): for root, _, files in sorted(os.walk(path)): for name in files: fullname = os.path.join(root, name) - flist.append(fullname[len('avocado/plugins/'):]) + flist.append(fullname[len('avocado/core/plugins/'):]) return flist @@ -118,7 +118,7 @@ if __name__ == '__main__': 'avocado.core.restclient.cli.args', 'avocado.core.restclient.cli.actions'], package_data={'avocado.core.plugins': _get_plugin_resource_files( - 'avocado/plugins/resources')}, + 'avocado/core/plugins/resources')}, data_files=get_data_files(), scripts=['scripts/avocado', 'scripts/avocado-rest-client']) -- GitLab