setup-ubuntu.sh: python: rm 3.7, 3.8, 3.10-full
i.e. use only lightweight 3.9 and 3.10
This commit is contained in:
parent
c6083d6a6e
commit
162b07ad19
@ -56,10 +56,8 @@ PACKAGES+=" xmlto"
|
|||||||
PACKAGES+=" xmltoman"
|
PACKAGES+=" xmltoman"
|
||||||
|
|
||||||
# Needed by python modules (e.g. asciinema) and some build systems.
|
# Needed by python modules (e.g. asciinema) and some build systems.
|
||||||
PACKAGES+=" python3.7"
|
|
||||||
PACKAGES+=" python3.8"
|
|
||||||
PACKAGES+=" python3.9"
|
PACKAGES+=" python3.9"
|
||||||
PACKAGES+=" python3.10-full"
|
PACKAGES+=" python3.10"
|
||||||
PACKAGES+=" python3-pip"
|
PACKAGES+=" python3-pip"
|
||||||
PACKAGES+=" python3-setuptools"
|
PACKAGES+=" python3-setuptools"
|
||||||
|
|
||||||
@ -216,6 +214,7 @@ $SUDO apt-get -yq update
|
|||||||
if dpkg --compare-versions $(lsb_release -rs) lt 21.04; then
|
if dpkg --compare-versions $(lsb_release -rs) lt 21.04; then
|
||||||
$SUDO add-apt-repository -y ppa:deadsnakes/ppa
|
$SUDO add-apt-repository -y ppa:deadsnakes/ppa
|
||||||
INSTALL_NEW_PIP3=true
|
INSTALL_NEW_PIP3=true
|
||||||
|
PACKAGES+=" python3.10-distutils"
|
||||||
else
|
else
|
||||||
INSTALL_NEW_PIP3=false
|
INSTALL_NEW_PIP3=false
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user