This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 148
/
setup.py
48 lines (41 loc) · 1.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import os
from setuptools import setup, Extension
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="RPIO",
version="0.10.1",
package_dir={"": "source"},
packages=['RPIO', 'RPIO.PWM'],
ext_modules=[
Extension('RPIO._GPIO', ['source/c_gpio/py_gpio.c',
'source/c_gpio/c_gpio.c', 'source/c_gpio/cpuinfo.c'],
extra_compile_args=["-Wno-error=declaration-after-statement"]),
Extension('RPIO.PWM._PWM', ['source/c_pwm/pwm.c',
'source/c_pwm/pwm_py.c'],
extra_compile_args=["-Wno-error=declaration-after-statement"])],
scripts=["source/scripts/rpio", "source/scripts/rpio-curses"],
description=(("Advanced GPIO for the Raspberry Pi. Extends RPi.GPIO with "
"PWM, GPIO interrups, TCP socket interrupts, command line tools "
"and more")),
long_description=read('README.rst'),
url="https://github.com/metachris/RPIO",
author="Chris Hager",
author_email="chris@linuxuser.at",
license="LGPLv3+",
keywords=["raspberry", "raspberry pi", "interrupts", "gpio", "rpio"],
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"Topic :: Utilities",
"Topic :: Software Development",
"Topic :: Home Automation",
"Topic :: System :: Hardware",
"Intended Audience :: Developers",
("License :: OSI Approved :: "
"GNU Lesser General Public License v3 or later (LGPLv3+)"),
"License :: Other/Proprietary License",
],
)