Skip to content

Commit

Permalink
scripts(setup-ubuntu.sh): Remove python2
Browse files Browse the repository at this point in the history
Removing host python2 is a step towards updating to ubuntu 24.04, which
does not have a python2 package.
  • Loading branch information
fornwall committed Sep 13, 2024
1 parent 066bc38 commit eda5ac2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit eda5ac2

Please sign in to comment.