diff options
author | JingLu5 <lvjing5@huawei.com> | 2016-07-25 11:01:36 +0800 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2016-07-26 08:37:56 +0800 |
commit | 3f8aabb29a49d650609832073c60589e68d9f3e8 (patch) | |
tree | d149a3648da5380866b441228141cc50b503cf58 /yardstick/cmd | |
parent | e19b546f69f8d59204f669c5d637d434c833fc09 (diff) |
Update setup.py to include plugin install/remove scripts and rename "script" directory to "scripts"
Change-Id: I420b391acc15e6c65816c33b8568e86d8238bcc7
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'yardstick/cmd')
-rw-r--r-- | yardstick/cmd/commands/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/cmd/commands/plugin.py b/yardstick/cmd/commands/plugin.py index 52ecf2005..8e3ddb5a5 100644 --- a/yardstick/cmd/commands/plugin.py +++ b/yardstick/cmd/commands/plugin.py @@ -76,7 +76,7 @@ class PluginCommands(object): '''Deployment environment setup''' target_script = plugin_name + ".bash" self.script = pkg_resources.resource_filename( - 'yardstick.resources', 'script/install/' + target_script) + 'yardstick.resources', 'scripts/install/' + target_script) deployment_user = deployment.get("user") deployment_ip = deployment.get("ip") @@ -95,7 +95,7 @@ class PluginCommands(object): '''Deployment environment setup''' target_script = plugin_name + ".bash" self.script = pkg_resources.resource_filename( - 'yardstick.resources', 'script/remove/' + target_script) + 'yardstick.resources', 'scripts/remove/' + target_script) deployment_user = deployment.get("user") deployment_ip = deployment.get("ip") |