-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
46 lines (42 loc) · 1.79 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 setuptools import setup
import sys
import platform
version='1.3.0'
requires = ['pyserial>=3.4',
'ctypes-callable>=1.0.0',
'RPi.GPIO>=0.7.0 ; platform_machine=="armv7l"',
'smbus2>=0.3.0; platform_machine=="armv7l"',
'Jetson.GPIO>=2.0.8 ; platform_machine=="aarch64"',
'smbus2>=0.3.0; platform_machine=="aarch64"'
]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='mlx9064x-driver',
version=version,
description='Python library for MLX90640-41',
long_description=long_description,
long_description_content_type="text/markdown",
license='Apache License, Version 2.0',
entry_points = {'console_scripts': ['mlx9064x-dump-frame = mlx.examples.mlx90640_dump_frame:main']},
install_requires=requires,
url = 'https://github.com/melexis-fir/mlx9064x-driver-py', # Provide either the link to your github or to your website
download_url = 'https://github.com/melexis-fir/mlx9064x-driver-py/archive/V'+version+'.tar.gz',
packages=['mlx/','mlx/pympt','mlx/examples'],
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Utilities',
],
)