summary | 
shortlog | 
log | 
commit | commitdiff | 
tree
raw | 
patch | 
inline | side by side (from parent 1: 
9ee0ad5)
 
The included libgpiod_pulsein binary wasn't being used on the Pi,
specifically with Adafruit_CircuitPython_DHT.  It turns out that
`pulseio` was missing from the list of modules to install, we weren't
installing `sysv_ipc` as a dependency, and `libgpiod_pulsein` itself
wasn't marked as executable.
This is now tested and working on a Pi 3B+ with a DHT22.
 RPi.GPIO; platform_machine=='armv7l' or platform_machine=='armv6l'
 rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'
 spidev; sys_platform == 'linux'
 RPi.GPIO; platform_machine=='armv7l' or platform_machine=='armv6l'
 rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'
 spidev; sys_platform == 'linux'
 
     url='https://github.com/adafruit/Adafruit_Blinka',
     package_dir={'': 'src'},
     packages=find_packages("src"),
     url='https://github.com/adafruit/Adafruit_Blinka',
     package_dir={'': 'src'},
     packages=find_packages("src"),
-    # If your package is a single module, use this instead of 'packages':
-    py_modules=['bitbangio', 'board', 'busio', 'digitalio', 'micropython', 'neopixel_write'],
+    # This seems to override find_packages above - I suspect but don't know for sure that
+    # we're doing this for a reason -- bpb 2019-01-15:
+    py_modules=['bitbangio', 'board', 'busio', 'digitalio', 'micropython', 'pulseio', 'neopixel_write'],
     install_requires=[
         "Adafruit-PlatformDetect",
         "Adafruit-PureIO",
         "RPi.GPIO; platform_machine=='armv7l' or platform_machine=='armv6l'",
         "rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'",
     install_requires=[
         "Adafruit-PlatformDetect",
         "Adafruit-PureIO",
         "RPi.GPIO; platform_machine=='armv7l' or platform_machine=='armv6l'",
         "rpi_ws281x>=4.0.0; platform_machine=='armv7l' or platform_machine=='armv6l'",
-        "spidev; sys_platform=='linux'"
+        "spidev; sys_platform=='linux'",
+        "sysv_ipc"
     ],
     license='MIT',
     classifiers=[
     ],
     license='MIT',
     classifiers=[