This repository was archived by the owner on Jul 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (52 loc) · 2.27 KB
/
setup.py
File metadata and controls
53 lines (52 loc) · 2.27 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
from setuptools import setup, find_packages
setup(
name='autoansign',
version='1.2',
# 版本号后缀说明:
# - a1:早期测试版(Alpha 版本)
# - b1:功能较完整但可能有问题的测试版(Beta 版本)
# - rc1:接近最终稳定版的发布候选版本(Release Candidate)
# - dev1:开发中版本(未完成,内部测试)
# - post1:正式版发布后的补丁版本
# 示例:'2.3.0a1' 表示 2.3.0 的第 1 个 Alpha 测试版
author='cndaqiang',
author_email='who@cndaqiang.ac.cn',
description='安卓签到',
long_description=open('README.md', encoding='utf-8').read(), # 从 autoansign/README.md 读取 long description
long_description_content_type='text/markdown',
packages=find_packages(), # 自动查找所有子包
# 需要在AutoWZRY下面创建__init__.[y]
package_data={ # 指定需要包含的额外文件
'autoansign': [
'assets/*', # 包括 autoansign/assets 下的所有文件
],
},
include_package_data=True, # 自动包含 package_data 中指定的文件
url='https://github.com/MobileAutoFlow/autoansign',
install_requires=[
'airtest-mobileauto>=2.1.2',
],
entry_points={
'console_scripts': [
'autoablesci=autoansign.web_ablesci:main', # 直接引用脚本文件
'automuchong=autoansign.web_muchong:main', # 直接引用脚本文件
'autotiyanbi=autoansign.web_tiyanbi:main', # 直接引用脚本文件
'autourl=autoansign.web_url:main', # 直接引用脚本文件
'autoalicloud=autoansign.app_alicloud:main', # 直接引用脚本文件
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
python_requires='>=3.6',
)