From eda5ac2efb3186b9458a497b36a80e53c82f0f34 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 6 Sep 2024 10:42:15 +0200 Subject: [PATCH] scripts(setup-ubuntu.sh): Remove python2 Removing host python2 is a step towards updating to ubuntu 24.04, which does not have a python2 package. --- scripts/setup-ubuntu.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 117cb481f3bc97..f8f02c4b064ab3 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -220,7 +220,6 @@ PACKAGES+=" itstool" PACKAGES+=" libdbus-glib-1-dev-bin" PACKAGES+=" libgdk-pixbuf2.0-dev" PACKAGES+=" libwayland-dev" -PACKAGES+=" python-setuptools" PACKAGES+=" python3-html5lib" PACKAGES+=" python3-xcbgen" PACKAGES+=" sassc" @@ -333,12 +332,6 @@ $SUDO apt-get -yq update $SUDO env DEBIAN_FRONTEND=noninteractive \ apt-get install -yq --no-install-recommends $PACKAGES -# Pip for python2. -curl -L --output /tmp/py2-get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py -$SUDO python2 /tmp/py2-get-pip.py -rm -f /tmp/py2-get-pip.py -$SUDO rm -f /usr/local/bin/pip - $SUDO locale-gen --purge en_US.UTF-8 echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US:en"\n' | $SUDO tee -a /etc/default/locale