This repository was archived by the owner on Oct 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (47 loc) · 1.53 KB
/
setup.py
File metadata and controls
55 lines (47 loc) · 1.53 KB
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
54
55
import io
from setuptools import setup
def read_files(files):
data = []
for file in files:
with io.open(file, encoding='utf-8') as f:
data.append(f.read())
return "\n".join(data)
long_description = read_files(['README.md', 'CHANGELOG.md'])
meta = {}
with io.open('./iotbot/version.py', encoding='utf-8') as f:
exec(f.read(), meta) # pylint: disable=W0122
setup(
name="python-iotbot",
description="IOTBOT SDK with python!",
long_description=long_description,
long_description_content_type='text/markdown',
version=meta['__version__'],
author="wongxy",
author_email="xiyao.wong@foxmail.com",
url="https://github.com/XiyaoWong/python-iotbot",
license='MIT',
keywords=['iotbot', 'iotbot sdk', 'iotqq', 'OPQ', 'OPQBot'],
packages=['iotbot'],
install_requires=[
'python-socketio >= 4.5.1',
'websocket-client >= 0.57.0',
'requests >= 2.23.0',
'prettytable >= 0.7.2',
'loguru >= 0.5.1',
],
entry_points='''
[console_scripts]
iotbot=iotbot.cli:cli
''',
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
)