rs_ws281x 0.3.1

Wrapper for ws281x library using bindgen to track upstream
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Python wrapper for the rpi_ws281x library.
# Author: Tony DiCola (tony@tonydicola.com)
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages, Extension

setup(name              = 'rpi_ws281x',
      version           = '1.0.0',
      author            = 'Jeremy Garff',
      author_email      = 'jer@jers.net',
      description       = 'Userspace Raspberry Pi PWM library for WS281X LEDs.',
      license           = 'MIT',
      url               = 'https://github.com/jgarff/rpi_ws281x/',
      py_modules        = ['neopixel'],
      ext_modules       = [Extension('_rpi_ws281x', 
                                     sources=['rpi_ws281x.i'],
                                     library_dirs=['../.'],
                                     libraries=['ws2811', 'rt'])])