-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (20 loc) · 798 Bytes
/
setup.py
File metadata and controls
22 lines (20 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from distutils.core import setup, Extension
pydht = Extension('PyDHT',
include_dirs = ['/usr/local/include'],
libraries = ['bcm2835'],
library_dirs = ['/usr/local/lib'],
sources = ['src/PyDHT.c'])
setup (name = 'PyDHT',
version = '0.0.6',
description = 'PyDHT based on Adafruit Raspberry-Pi Python Code Library by Limor Fried, Kevin Townsend and Mikey Sklar',
author='Vo1',
author_email='insyon@gmail.com',
license='GPLv2',
keywords=["raspberry pi", "bcm2835", "gpio", "dht11", "dht22", "am2302", "adafruit"],
classifiers=[
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Topic :: System :: Hardware"
],
url='https://github.com/vo1/PyDHT',
ext_modules = [pydht])