]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - setup.py
Move tomllib imports to function so it works on MicroPython
[Adafruit_Blinka-hackapet.git] / setup.py
old mode 100755 (executable)
new mode 100644 (file)
index b793194..d24a53d
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ if os.path.exists("/proc/device-tree/compatible"):
     elif b"brcm,bcm2712" in compat:
         board_reqs = [
             "rpi_ws281x>=4.0.0",
-            "lgpio",
+            "lgpio;python_version<'3.11'",
             "Adafruit-Blinka-Raspberry-Pi5-Neopixel",
         ]
     # Pi 4 and Earlier