forked from Yonsm/MiService
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathsetup.py
executable file
·35 lines (30 loc) · 919 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
#!/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)
from setuptools import setup
setup(
name="miservice_fork",
description="XiaoMi Cloud Service fork from https://github.com/Yonsm/MiService",
version="2.7.1",
license="MIT",
author="Yonsm, yihong0618",
author_email="[email protected], [email protected]",
url="https://github.com/yihong0618/MiService",
packages=["miservice"],
scripts=["micli.py"],
python_requires=">=3.8",
install_requires=["aiohttp", "mutagen", "rich"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": ["micli = miservice.cli:micli"],
},
)