File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ python_binary: "{{python_prefix_dir}}/bin/python"
55
66python_pip_location : " {{python_prefix_dir}}/bin/pip"
77python_virtualenv_location : " {{python_prefix_dir}}/bin/virtualenv"
8- python_setuptools_version : # default to latest
9- python_virtualenv_version : # default to latest
8+ # python_setuptools_version: # default to latest
9+ # python_virtualenv_version: # default to latest
1010
1111python_source_url : " http://www.python.org/ftp/python"
1212python_source_version : " 2.7.6"
Original file line number Diff line number Diff line change 99 mode : 0644
1010
1111- name : python | pip | install pip
12- command : " {{pyton_binary}} get-pip.py"
13- creates : {{python_pip_binary}}
12+ command : python /tmp/get-pip.py creates="{{python_pip_location}}"
1413
1514- name : python | pip | update setuptools
1615 pip :
17- name : " setuptools"
18- version : " {{python_setuptools_version | default()}}"
19- state : installed
16+ name : " setuptools{% if python_setuptools_version is defined %}=={{python_setuptools_version}}{% endif %}"
17+ state : present
Original file line number Diff line number Diff line change 22
33- name : python | virtualenv | install virtualenv
44 pip :
5- name : " setuptools"
6- version : " {{python_virtualenv_version | default()}}"
7- state : installed
5+ name : " virtualenv{% if python_virtualenv_version is defined %}=={{python_virtualenv_version}}{% endif %}"
6+ state : present
You can’t perform that action at this time.
0 commit comments