-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·40 lines (34 loc) · 1.36 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
#!/usr/bin/env python
from distutils.core import setup, Extension
rawhidmodule = Extension('TeensyRawhid',
# TODO: support all three platforms here
sources = ['teensyrawhid/rawhidmodule.c', 'teensyrawhid/hid_LINUX.c'],
extra_link_args = ['-lusb'])
#sources = ['rawhidmodule.c', 'hid_MACOSX.c'],
#extra_link_args = ['-framework', 'IOKit', '-framework', 'CoreFoundation'])
#TODO windows
setup(
name='TeensyRawhid',
version='0.1.0',
author='Ian Howson',
author_email='ian@mutexlabs.com',
#packages=['teensyrawhid'],
description='Raw HID client for Teensy development boards',
url='http://mutexlabs.com/c/TeensyRawhid/',
download_url='http://mutexlabs.com/c/TeensyRawhid/download/teensyrawhid-0.1.0.tar.gz',
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Development Status :: 3 - Alpha",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows :: Windows NT/2000",
"Topic :: Software Development :: Embedded Systems",
],
scripts=[],
long_description=open('README.txt').read(),
ext_modules = [rawhidmodule]
)