-
Notifications
You must be signed in to change notification settings - Fork 204
/
setup.py
executable file
·38 lines (32 loc) · 910 Bytes
/
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
#!/usr/bin/env python3
import os
import sys
if len(sys.argv) == 1:
os.system('%s sdist' % sys.argv[0])
os.system('twine upload dist/*')
os.system('rm -rf dist *.egg-info')
exit(0)
import time
from pathlib import Path
from setuptools import setup
from micli import MISERVICE_VERSION
setup(
name='miservice',
description='XiaoMi Cloud Service',
version=MISERVICE_VERSION,
license='MIT',
author='Yonsm',
author_email='[email protected]',
url='https://github.com/Yonsm/MiService',
long_description=Path('README.md').read_text(),
long_description_content_type='text/markdown',
packages=['miservice'],
scripts=['micli.py'],
python_requires='>=3.7',
install_requires=['aiohttp'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
)