-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
46 lines (37 loc) · 1.29 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
from distutils.core import setup
from distutils.core import Extension
from distutils.command.build_ext import build_ext as _build_ext
class build_ext(_build_ext):
def run(self):
print('WTF, Nothing but python is the best language for developers!')
_build_ext.run(self)
modules = [
Extension(
'pyuvc.uvc',
sources=['pyuvc/uvc.c', 'pyuvc/uvc_lib.c'],
extra_compile_args=['-Wall', '-g'],
),
]
setup(
name='pysdk-uvc',
version='0.3',
author='yxt',
author_email='[email protected]',
url='http://mail.google.com',
license='BSD',
packages=['pyuvc'],
description='uvc driver for banana pi m2u',
long_description=open('README.md').read() + open('CHANGES.txt').read(),
classifiers=['Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Home Automation',
'Topic :: Software Development :: Embedded Systems'
],
ext_modules=modules,
cmdclass={'build_ext': build_ext}
)