1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

port kalite's pip to use python3

This commit is contained in:
Jerry Vonau 2019-10-31 09:11:30 -05:00
parent 3179a53ed1
commit 005b5e3054

View file

@ -1,10 +1,4 @@
# For OS's other than Fedora 18
- name: Install package python-virtualenv allowing KA Lite install into {{ kalite_venv }}
package:
name: python-virtualenv
state: present
- name: Download {{ kalite_requirements }} to {{ pip_packages_dir }}/kalite.txt
get_url:
url: "{{ kalite_requirements }}"
@ -26,6 +20,8 @@
version: "{{ kalite_version }}"
virtualenv: "{{ kalite_venv }}"
virtualenv_site_packages: no
virtualenv_command: /usr/bin/virtualenv
virtualenv_python: python2.7
extra_args: "--no-cache-dir"
# extra_args="--disable-pip-version-check"
when: internet_available and is_debuntu
@ -44,6 +40,8 @@
version: "{{ kalite_version }}"
virtualenv: "{{ kalite_venv }}"
virtualenv_site_packages: no
virtualenv_command: /usr/bin/virtualenv
virtualenv_python: python2.7
# extra_args="--no-cache-dir"
# extra_args="--disable-pip-version-check"
when: internet_available and not is_debuntu