Skip to content

Commit 768fe70

Browse files
authored
Merge pull request #862 from makermelissa/main
Improve sysv_ipc fix by using requirements syntax
2 parents e50ab65 + b277397 commit 768fe70

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@
3434
or b"brcm,bcm2838" in compat
3535
or b"brcm,bcm2711" in compat
3636
):
37-
board_reqs = ["RPi.GPIO", "rpi_ws281x>=4.0.0", "sysv_ipc>=1.1.0"]
37+
board_reqs = ["RPi.GPIO", "rpi_ws281x>=4.0.0"]
3838
# Pi 5
3939
if b"brcm,bcm2712" in compat:
40-
board_reqs = ["rpi_ws281x>=4.0.0", "rpi-lgpio", "sysv_ipc>=1.1.0"]
41-
if b"amlogic,a311d" in compat:
42-
board_reqs = ["sysv_ipc>=1.1.0"]
40+
board_reqs = ["rpi_ws281x>=4.0.0", "rpi-lgpio"]
4341
if (
4442
b"ti,am335x" in compat
4543
): # BeagleBone Black, Green, PocketBeagle, BeagleBone AI, etc.
@@ -97,6 +95,7 @@
9795
"pyftdi>=0.40.0",
9896
"numpy>=1.21.5",
9997
"adafruit-circuitpython-typing",
98+
"sysv_ipc>=1.1.0;sys_platform=='linux' and platform_machine!='mips'",
10099
]
101100
+ board_reqs,
102101
license="MIT",

0 commit comments

Comments
 (0)