Skip to content

Commit

Permalink
Merge pull request #862 from makermelissa/main
Browse files Browse the repository at this point in the history
Improve sysv_ipc fix by using requirements syntax
  • Loading branch information
makermelissa committed Jun 20, 2024
2 parents e50ab65 + b277397 commit 768fe70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@
or b"brcm,bcm2838" in compat
or b"brcm,bcm2711" in compat
):
board_reqs = ["RPi.GPIO", "rpi_ws281x>=4.0.0", "sysv_ipc>=1.1.0"]
board_reqs = ["RPi.GPIO", "rpi_ws281x>=4.0.0"]
# Pi 5
if b"brcm,bcm2712" in compat:
board_reqs = ["rpi_ws281x>=4.0.0", "rpi-lgpio", "sysv_ipc>=1.1.0"]
if b"amlogic,a311d" in compat:
board_reqs = ["sysv_ipc>=1.1.0"]
board_reqs = ["rpi_ws281x>=4.0.0", "rpi-lgpio"]
if (
b"ti,am335x" in compat
): # BeagleBone Black, Green, PocketBeagle, BeagleBone AI, etc.
Expand Down Expand Up @@ -97,6 +95,7 @@
"pyftdi>=0.40.0",
"numpy>=1.21.5",
"adafruit-circuitpython-typing",
"sysv_ipc>=1.1.0;sys_platform=='linux' and platform_machine!='mips'",
]
+ board_reqs,
license="MIT",
Expand Down

0 comments on commit 768fe70

Please sign in to comment.