Skip to content

Commit

Permalink
Fixup: Move pip install custom packages to bootstrap
Browse files Browse the repository at this point in the history
Let's not try to install custom python packages on
every run and do it only when bootstrap.

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
  • Loading branch information
Satheesh Rajendran committed May 9, 2019
1 parent 6519379 commit 8e478c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avocado-setup.py
Expand Up @@ -156,7 +156,6 @@ def env_check(disable_kvm):
logger.error("Please install following "
"dependancy packages %s", " ".join(not_found))
sys.exit(1)
pip_install()


def is_avocado_plugin_avl(plugin):
Expand Down Expand Up @@ -307,6 +306,7 @@ def bootstrap(disable_kvm=False):
:params disable_kvm: Flag to disable kvm environment bootstrap
"""
env_clean()
pip_install()
logger.info("Bootstrapping Avocado")
get_repo(AVOCADO_REPO, BASE_PATH, True)
if not disable_kvm:
Expand Down

0 comments on commit 8e478c7

Please sign in to comment.