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:
Lucy Phipps 2021-10-06 20:20:04 +01:00
parent c6083d6a6e
commit 162b07ad19
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
1 changed files with 2 additions and 3 deletions

View File

@ -56,10 +56,8 @@ PACKAGES+=" xmlto"
PACKAGES+=" xmltoman"
# Needed by python modules (e.g. asciinema) and some build systems.
PACKAGES+=" python3.7"
PACKAGES+=" python3.8"
PACKAGES+=" python3.9"
PACKAGES+=" python3.10-full"
PACKAGES+=" python3.10"
PACKAGES+=" python3-pip"
PACKAGES+=" python3-setuptools"
@ -216,6 +214,7 @@ $SUDO apt-get -yq update
if dpkg --compare-versions $(lsb_release -rs) lt 21.04; then
$SUDO add-apt-repository -y ppa:deadsnakes/ppa
INSTALL_NEW_PIP3=true
PACKAGES+=" python3.10-distutils"
else
INSTALL_NEW_PIP3=false
fi