-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (49 loc) · 2.03 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
47
48
49
50
51
52
53
from setuptools import setup
import sys
import platform
version='1.4.1'
requires = ['bincopy>=17.8.0',
'pyftdi>=0.51.2',
'ctypes-callable>=1.0.0',
# WinPC
'pywinusb>=0.4.2; platform_system=="Windows"',
# LinuxPC, RPi, Jeston
'hid>=1.0.4; platform_system=="Linux"',
# Rasberry Pi
'RPi.GPIO>=0.7.0 ; platform_machine=="armv7l"',
'smbus2>=0.3.0; platform_machine=="armv7l"',
# Jetson Nano
'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='mlx90632-driver',
version=version,
description='Python library for MLX90632',
long_description=long_description,
long_description_content_type="text/markdown",
license='Apache License, Version 2.0',
entry_points = {'console_scripts': ['mlx90632-dump = examples.mlx90632_dump:main']},
install_requires=requires,
url = 'https://github.com/melexis-fir/mlx90632-driver-py', # Provide either the link to your github or to your website
download_url = 'https://github.com/melexis-fir/mlx90632-driver-py/archive/V'+version+'.tar.gz',
packages=['mlx90632','mlx90632/pympt','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',
],
)