Compile Python3 on RHEL-7
Change-Id: I20a8764560174fde7cee9147afd0bd3dc01bfb51
This commit is contained in:
parent
d4b18155a4
commit
15fa84f133
@ -2,7 +2,7 @@
|
||||
setup_python: true
|
||||
setup_pip: true
|
||||
|
||||
python_release: "3.7.5"
|
||||
python_release: "3.7.7"
|
||||
python_version: "3.7"
|
||||
python_command: "python3"
|
||||
python_name: "Python-{{ python_release }}"
|
||||
@ -32,7 +32,6 @@ yum_install_packages:
|
||||
- expat-devel
|
||||
- gdbm-devel
|
||||
- libffi-devel
|
||||
- libpcap-devel
|
||||
- ncurses-devel
|
||||
- openssl-devel
|
||||
- readline-devel
|
||||
|
@ -16,3 +16,5 @@ python_command: 'python{{ python_version }}'
|
||||
|
||||
python_packages: {}
|
||||
python_info: {}
|
||||
|
||||
compile_python3: no
|
||||
|
@ -13,6 +13,12 @@
|
||||
when: install_python_packages is changed
|
||||
|
||||
|
||||
- name: "compile python 3 from sources"
|
||||
include_role: name=tobiko-compile-python
|
||||
when:
|
||||
- compile_python3 | bool
|
||||
|
||||
|
||||
- name: "get '{{ python_command }}' full path"
|
||||
shell: |
|
||||
export PATH={{ python_exe_path }}
|
||||
|
@ -1,7 +1,3 @@
|
||||
---
|
||||
|
||||
python_packages:
|
||||
python3:
|
||||
- python3
|
||||
python3.6:
|
||||
- python36
|
||||
compile_python3: yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user