From 28e52b3d18694fad2ea2460b5375a3993c8185ab Mon Sep 17 00:00:00 2001 From: Andreas Harter Date: Thu, 18 Oct 2018 20:16:26 +0200 Subject: [PATCH] Upgrade Makefile and bootstrap.sh to python3 --- Makefile | 2 +- scripts/bootstrap.sh | 37 ++++++++++++++++++------------------- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 4bd3fc72..aecab9e8 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with pulseaudio-dlna. If not, see . -python ?= python2.7 +python ?= python3 user ?= $(shell whoami) all: pulseaudio_dlna.egg-info diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 487bf5b6..1c0596dd 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -59,31 +59,30 @@ function install_fonts() { function install_dev() { sudo apt-get install \ - python2.7 \ - python-pip \ - python-setuptools \ - python-dbus \ - python-docopt \ - python-requests \ - python-setproctitle \ - python-gi \ - python-protobuf \ - python-notify2 \ - python-psutil \ - python-concurrent.futures \ - python-chardet \ - python-netifaces \ - python-netaddr \ - python-pyroute2 \ - python-lxml \ - python-zeroconf \ + python3 \ + python3-pip \ + python3-setuptools \ + python3-dbus \ + python3-docopt \ + python3-requests \ + python3-setproctitle \ + python3-gi \ + python3-protobuf \ + python3-notify2 \ + python3-psutil \ + python3-chardet \ + python3-netifaces \ + python3-netaddr \ + python3-pyroute2 \ + python3-lxml \ + python3-zeroconf \ vorbis-tools \ sox \ lame \ flac \ opus-tools \ pavucontrol \ - virtualenv python-dev git-core + virtualenv python3-dev git-core [[ -d ~/pulseaudio-dlna ]] || \ git clone https://github.com/masmu/pulseaudio-dlna.git ~/pulseaudio-dlna }