-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
46 lines (42 loc) · 1.23 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
import setuptools
from setuptools import find_packages
import re
with open("./sscma/__init__.py", 'r') as f:
content = f.read()
version = re.search(r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', content).group(1)
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='python-sscma',
version=version,
author='Seeed Studio',
author_email='[email protected]',
description='Python library for sscma',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/Seeed-Studio/python-sscma',
packages=find_packages(),
package_data={'sscma': ['fonts/*.ttf']},
install_requires=[
'pillow',
'pyserial',
'paho-mqtt > 2.0.0',
'xmodem',
'tqdm',
'click',
'opencv-python',
],
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
license='MIT',
entry_points={
'console_scripts': [
'sscma.cli = sscma.cli.cli:main',
]
}
)