Module to manage pip packages 23/51123/9
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Thu, 25 Jan 2018 11:12:57 +0000 (11:12 +0000)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Fri, 9 Feb 2018 18:11:00 +0000 (18:11 +0000)
commit9dc587f166af106f7e30dbe00ddf152e9be6f1ea
treecce11bc2ce53121a118c104ceec1dd40b708def8
parent5ad70e9e75a0061d233d1d7a786b40ea2887361c
Module to manage pip packages

This new module provides methods to manage Python PIP packages from
a URL, from a local directory or from a build PIP package.

The implemented commands are:
- Install package.
- Remove package.
- List all installed packages in the system.

JIRA: YARDSTICK-910

Change-Id: I8f7d1b77c0c384b801cc6f5e67d8b45ce7c6bfdf
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
17 files changed:
requirements.txt
test-requirements.txt
tox.ini
yardstick/common/packages.py [new file with mode: 0644]
yardstick/common/privsep.py [new file with mode: 0644]
yardstick/common/utils.py
yardstick/tests/functional/base.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/README.md [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/setup.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/yardstick_new_plugin_2/__init__.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/yardstick_new_plugin_2/benchmark/__init__.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/yardstick_new_plugin_2/benchmark/scenarios/__init__.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/yardstick_new_plugin_2/benchmark/scenarios/dummy2/__init__.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_directory_package/yardstick_new_plugin_2/benchmark/scenarios/dummy2/dummy2.py [new file with mode: 0644]
yardstick/tests/functional/common/fake_pip_package/yardstick_new_plugin-1.0.0.tar.gz [new file with mode: 0644]
yardstick/tests/functional/common/test_packages.py [new file with mode: 0644]
yardstick/tests/unit/common/test_packages.py [new file with mode: 0644]