Merge "Create distutils cfg before install and build"

This commit is contained in:
Zuul 2018-06-05 20:41:07 +00:00 committed by Gerrit Code Review
commit 189a5b8d2a
1 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,14 @@
- "{{ repo_build_dir }}"
- "{{ repo_build_output }}"
- name: Create distutils configuration file with index mirror
ini_file:
dest: "~/.pydistutils.cfg"
section: easy_install
option: index_url
value: "{{ repo_build_pip_default_index }}"
when: repo_build_pip_default_index is defined
- name: Download requirement pip sources
shell: >-
set -o pipefail;