cleanup: our Python dependencies all seem to have native versions these days: no dev tools needed anymore
This commit is contained in:
@@ -17,7 +17,7 @@ install_depends() {
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
|
||||
apt -qqq update && apt -qqy upgrade
|
||||
echo "icecast2 icecast2/icecast-setup boolean false" | debconf-set-selections
|
||||
apt install -qqy caddy sqlite3 php-sqlite3 php-fpm php-curl php-xml php-zip php icecast2 \
|
||||
apt install --no-install-recommends -qqy caddy sqlite3 php-sqlite3 php-fpm php-curl php-xml php-zip php icecast2 \
|
||||
pulseaudio avahi-utils sox libsox-fmt-mp3 alsa-utils ffmpeg \
|
||||
wget curl unzip bc \
|
||||
python3-pip python3-venv lsof net-tools inotify-tools
|
||||
|
||||
@@ -120,10 +120,6 @@ if ! which inotifywait &>/dev/null;then
|
||||
ensure_apt_updated
|
||||
apt-get -y install inotify-tools
|
||||
fi
|
||||
if ! which gcc &>/dev/null;then
|
||||
ensure_apt_updated
|
||||
apt-get -y install gcc python3-dev
|
||||
fi
|
||||
|
||||
apprise_version=$($HOME/BirdNET-Pi/birdnet/bin/python3 -c "import apprise; print(apprise.__version__)")
|
||||
[[ $apprise_version != "1.9.0" ]] && sudo_with_user $HOME/BirdNET-Pi/birdnet/bin/pip3 install apprise==1.9.0
|
||||
|
||||
Reference in New Issue
Block a user