From e3ac19a66ad6cedc7f5742a2ffd2cfba2a404460 Mon Sep 17 00:00:00 2001 From: riffnshred Date: Thu, 22 Feb 2024 19:28:27 -0500 Subject: [PATCH] Fixed install.sh and updated requirements.txt --- config/.default/firstrun | 0 requirements.txt | 2 +- scripts/install.sh | 23 ++++++++++++++++++++++- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 config/.default/firstrun diff --git a/config/.default/firstrun b/config/.default/firstrun new file mode 100644 index 00000000..e69de29b diff --git a/requirements.txt b/requirements.txt index 76bbcb62..5ba6093d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ ephem fastjsonschema>=2.14.4 geocoder>=1.38.1 gpiozero==1.6.2 -nhl-api-py +nhl-api-py>=2.4.0 noaa-sdk>=0.1.18 pyowm>=3.0.0 python-tsl2591==0.2.0 diff --git a/scripts/install.sh b/scripts/install.sh index c378a6ae..a73808d1 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -9,7 +9,7 @@ echo "$(tput setaf 6)Installing required dependencies. This may take some time ( sudo scripts/aptfile apt-requirements #Install all pip3 requirements using the requirements.txt filer -sudo pip3 install -r requirements.txt +sudo pip3 install -U -r requirements.txt # Pull submodule and ignore changes from script git submodule update --init --recursive @@ -32,6 +32,27 @@ sudo make install-python PYTHON="$(command -v python3)" cd ../../../ || exit +# Blacklist the snd_bcm2835 sounds module +sudo tee /etc/modprobe.d/blacklist-rgbmatrix.conf <