Skip to content

Commit

Permalink
replace RPi.GPIO with rpi-lgpio
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin committed Dec 22, 2024
1 parent d845bd3 commit 0ee5bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ _jukebox_core_install_python_requirements() {
source "$VIRTUAL_ENV/bin/activate"

pip install --upgrade pip
# Remove RPi.GPIO, if still installed - see https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2313
pip uninstall rpi-gpio
pip install --no-cache-dir -r "${INSTALLATION_PATH}/requirements.txt"
}

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ requests
tornado

# RPi's GPIO packages:
RPi.GPIO
# use shim to keep current RPi.GPIO behavior also under Bookworm - see https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2313
rpi-lgpio
gpiozero

# PyZMQ is a special case:
Expand Down

0 comments on commit 0ee5bc3

Please sign in to comment.