Skip to content

Commit

Permalink
Merge pull request #54 from nuwang/master
Browse files Browse the repository at this point in the history
Added pip_extra_args parameter
  • Loading branch information
natefoo committed Jan 27, 2019
2 parents b16be13 + e4bbbdf commit 26eabd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/dependencies.yml
Expand Up @@ -11,7 +11,7 @@
- name: Install Galaxy base dependencies
pip:
requirements: "{{ galaxy_requirements_file }}"
extra_args: "--index-url https://wheels.galaxyproject.org/simple/ --extra-index-url https://pypi.python.org/simple"
extra_args: "--index-url https://wheels.galaxyproject.org/simple/ --extra-index-url https://pypi.python.org/simple {{ pip_extra_args | default('') }}"
virtualenv: "{{ galaxy_venv_dir }}"
virtualenv_command: "{{ pip_virtualenv_command | default( 'virtualenv' ) }}"
environment:
Expand All @@ -27,7 +27,7 @@
- name: Install Galaxy conditional dependencies
pip:
name: "{{ conditional_dependencies.stdout_lines }}"
extra_args: "--index-url https://wheels.galaxyproject.org/simple/ --extra-index-url https://pypi.python.org/simple"
extra_args: "--index-url https://wheels.galaxyproject.org/simple/ --extra-index-url https://pypi.python.org/simple {{ pip_extra_args | default('') }}"
virtualenv: "{{ galaxy_venv_dir }}"
virtualenv_command: "{{ pip_virtualenv_command | default( 'virtualenv' ) }}"
environment:
Expand Down
2 changes: 2 additions & 0 deletions tasks/virtualenv.yml
Expand Up @@ -8,6 +8,7 @@
pip:
name: pip
virtualenv: "{{ galaxy_venv_dir }}"
extra_args: "{{ pip_extra_args | default('') }}"
virtualenv_command: "{{ pip_virtualenv_command | default('virtualenv') }}"
virtualenv_python: python2.7
environment:
Expand All @@ -17,6 +18,7 @@
pip:
name: pip
state: latest
extra_args: "{{ pip_extra_args | default('') }}"
virtualenv: "{{ galaxy_venv_dir }}"
virtualenv_command: "{{ pip_virtualenv_command | default('virtualenv') }}"
environment:
Expand Down

0 comments on commit 26eabd0

Please sign in to comment.