]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
add spidev to requirements
authorBrennen Bearnes <brennen@adafruit.com>
Tue, 18 Dec 2018 05:47:18 +0000 (22:47 -0700)
committerBrennen Bearnes <brennen@adafruit.com>
Tue, 18 Dec 2018 05:47:18 +0000 (22:47 -0700)
requirements.txt
setup.py

index 5bda6e49f64a1b2b5f5fa852181ad1912f733875..e07d50586f4754262edf6dbbe3aa6e3f619f076f 100755 (executable)
@@ -1,3 +1,4 @@
 Adafruit-PlatformDetect
 RPi.GPIO; platform_machine=='armv7l' or platform_machine=='armv6l'
 rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'
+spidev
index 08aa35a9f18d1961c8ecbce70b5059e4d3eeec5f..0393ef18c456f7e4c33cc7effc37c90cb2534704 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -33,9 +33,10 @@ setup(
     # If your package is a single module, use this instead of 'packages':
     py_modules=['bitbangio', 'board', 'busio', 'digitalio', 'micropython', 'neopixel_write'],
     install_requires=[
-        'Adafruit-PlatformDetect',
+        "Adafruit-PlatformDetect",
         "RPi.GPIO; platform_machine=='armv7l' or platform_machine=='armv6l'",
-        "rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'"
+        "rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'",
+        "spidev"
     ],
     license='MIT',
     classifiers=[