|
|
|
@ -9,15 +9,15 @@ sources += ['wiringpi_wrap.c']
|
|
|
|
|
|
|
|
|
|
|
|
sources.remove('WiringPi/devLib/piFaceOld.c')
|
|
|
|
sources.remove('WiringPi/devLib/piFaceOld.c')
|
|
|
|
|
|
|
|
|
|
|
|
_wiringpi2 = Extension(
|
|
|
|
_wiringpi = Extension(
|
|
|
|
'_wiringpi2',
|
|
|
|
'_wiringpi',
|
|
|
|
include_dirs=['WiringPi/wiringPi','WiringPi/devLib'],
|
|
|
|
include_dirs=['WiringPi/wiringPi','WiringPi/devLib'],
|
|
|
|
sources=sources
|
|
|
|
sources=sources
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
setup(
|
|
|
|
name = 'wiringpi2',
|
|
|
|
name = 'wiringpi',
|
|
|
|
version = '2.32.0',
|
|
|
|
version = '2.32.1',
|
|
|
|
author = "Philip Howard",
|
|
|
|
author = "Philip Howard",
|
|
|
|
author_email = "phil@gadgetoid.com",
|
|
|
|
author_email = "phil@gadgetoid.com",
|
|
|
|
url = 'https://github.com/WiringPi/WiringPi-Python/',
|
|
|
|
url = 'https://github.com/WiringPi/WiringPi-Python/',
|
|
|
|
@ -25,8 +25,8 @@ setup(
|
|
|
|
easily interfacing with the GPIO pins of the Raspberry Pi. Also supports
|
|
|
|
easily interfacing with the GPIO pins of the Raspberry Pi. Also supports
|
|
|
|
i2c and SPI""",
|
|
|
|
i2c and SPI""",
|
|
|
|
long_description=open('README.md').read(),
|
|
|
|
long_description=open('README.md').read(),
|
|
|
|
ext_modules = [ _wiringpi2 ],
|
|
|
|
ext_modules = [ _wiringpi ],
|
|
|
|
py_modules = ["wiringpi2"],
|
|
|
|
py_modules = ["wiringpi"],
|
|
|
|
install_requires=[],
|
|
|
|
install_requires=[],
|
|
|
|
headers=glob('WiringPi/wiringPi/*.h')+glob('WiringPi/devLib/*.h')
|
|
|
|
headers=glob('WiringPi/wiringPi/*.h')+glob('WiringPi/devLib/*.h')
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|