mirror of
https://github.com/certbot/certbot.git
synced 2026-02-24 10:20:58 -05:00
* Revert "Deprecation warnings for Python 3.4 (#7378)" This reverts commit6fcdfb0e50. * Revert "Migrate certbot-auto users on CentOS 6 to Python 3.6 (#7268)" This reverts commite19b2e04c7. * add changelog entry * keep mona in authors
30 lines
709 B
Bash
30 lines
709 B
Bash
# If new packages are installed by BootstrapRpmPython3 below, this version
|
|
# number must be increased.
|
|
BOOTSTRAP_RPM_PYTHON3_VERSION=1
|
|
|
|
BootstrapRpmPython3() {
|
|
# Tested with:
|
|
# - CentOS 6
|
|
# - Fedora 29
|
|
|
|
InitializeRPMCommonBase
|
|
|
|
# Fedora 29 must use python3-virtualenv
|
|
if $TOOL list python3-virtualenv >/dev/null 2>&1; then
|
|
python_pkgs="python3
|
|
python3-virtualenv
|
|
python3-devel
|
|
"
|
|
# EPEL uses python34
|
|
elif $TOOL list python34 >/dev/null 2>&1; then
|
|
python_pkgs="python34
|
|
python34-devel
|
|
python34-tools
|
|
"
|
|
else
|
|
error "No supported Python package available to install. Aborting bootstrap!"
|
|
exit 1
|
|
fi
|
|
|
|
BootstrapRpmCommonBase "$python_pkgs"
|
|
}
|