Support editable flag to pip installation

This is useful for deploying experimental CI system for testing.

Change-Id: I8f69f0b91c56bdcef125532c2725a00799382a0e
This commit is contained in:
liusheng 2018-07-03 09:39:55 +08:00
parent ff4eaf2ade
commit 7ef2873b48
2 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ nodepool_install_method: pip
nodepool_pip_name: nodepool
# nodepool_pip_executable:
# nodepool_pip_editable:
# nodepool_pip_extra_args:
# nodepool_pip_version:
# nodepool_pip_virtualenv_python:

View File

@ -16,6 +16,7 @@
become: yes
pip:
executable: "{{ nodepool_pip_executable|default(omit) }}"
editable : "{{ nodepool_pip_editable|default(omit) }}"
extra_args: "{{ nodepool_pip_extra_args|default(omit) }}"
name: "{{ nodepool_pip_name }}"
version: "{{ nodepool_pip_version|default(omit) }}"