On Ubuntu Xenial there is no way to install python3.4
Use value specified in PYTHON3_VERSION
Change-Id: Ibc69b1c8270bdd240c82cf2acfdfd0730ef0f182
| ... | ... |
@@ -370,7 +370,7 @@ function python3_enabled {
|
| 370 | 370 |
# Install python3 packages |
| 371 | 371 |
function install_python3 {
|
| 372 | 372 |
if is_ubuntu; then |
| 373 |
- apt_get install python3.4 python3.4-dev |
|
| 373 |
+ apt_get install python${PYTHON3_VERSION} python${PYTHON3_VERSION}-dev
|
|
| 374 | 374 |
fi |
| 375 | 375 |
} |
| 376 | 376 |
|