| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
""" |
| 21 |
This package provides a Python module to control the GPIO on a Raspberry Pi. |
| 22 |
""" |
| 23 |
|
| 24 |
from setuptools import setup, Extension |
| 25 |
|
| 26 |
classifiers = ['Development Status :: 5 - Production/Stable', |
| 27 |
'Operating System :: POSIX :: Linux', |
| 28 |
'License :: OSI Approved :: MIT License', |
| 29 |
'Intended Audience :: Developers', |
| 30 |
'Programming Language :: Python :: 2.7', |
| 31 |
'Programming Language :: Python :: 3', |
| 32 |
'Topic :: Software Development', |
| 33 |
'Topic :: Home Automation', |
| 34 |
'Topic :: System :: Hardware'] |
| 35 |
|
| 36 |
setup(name = 'RPi.GPIO', |
| 37 |
version = '0.7.1a4', |
| 38 |
author = 'Ben Croston', |
| 39 |
author_email = '[email protected]', |
| 40 |
description = 'A module to control Raspberry Pi GPIO channels', |
| 41 |
long_description = open('README.txt').read() + open('CHANGELOG.txt').read(), |
| 42 |
license = 'MIT', |
| 43 |
keywords = 'Raspberry Pi GPIO', |
| 44 |
url = 'http://sourceforge.net/projects/raspberry-gpio-python/', |
| 45 |
classifiers = classifiers, |
| 46 |
packages = ['RPi','RPi.GPIO'], |
| 47 |
ext_modules = [Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c', 'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c', 'source/py_pwm.c', 'source/common.c', 'source/constants.c'])]) |