forked from rytilahti/python-miio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (55 loc) · 1.72 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import re
from setuptools import setup
with open('miio/version.py') as f:
exec(f.read())
def readme():
# we have intersphinx link in our readme, so let's replace them
# for the long_description to make pypi happy
reg = re.compile(r':.+?:`(.+?)\s?(<.+?>)?`')
with open('README.rst') as f:
return re.sub(reg, r'\1', f.read())
setup(
name='python-miio',
version=__version__,
description='Python library for interfacing with Xiaomi smart appliances',
long_description=readme(),
url='https://github.com/rytilahti/python-miio',
author='Teemu Rytilahti',
author_email='tpr@iki.fi',
license='GPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
],
keywords='xiaomi miio vacuum',
packages=["miio", "mirobo"],
include_package_data=True,
python_requires='>=3.5',
install_requires=[
'construct==2.9.41',
'click',
'cryptography',
'pretty_cron',
'zeroconf',
'attrs',
'android_backup',
'pytz',
'appdirs',
'tqdm',
],
entry_points={
'console_scripts': [
'mirobo=miio.vacuum_cli:cli',
'miplug=miio.plug_cli:cli',
'miceil=miio.ceil_cli:cli',
'mieye=miio.philips_eyecare_cli:cli',
'miio-extract-tokens=miio.extract_tokens:main',
'miiocli=miio.cli:create_cli',
],
},
)