-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 1.07 KB
/
Copy pathsetup.py
File metadata and controls
35 lines (30 loc) · 1.07 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
#-*- encoding: UTF-8 -*-
from setuptools import setup
setup(
name = "apkchecker", # 包名
version = "0.9", # 版本信息
packages = ['ApkChecker'], # 要打包的项目文件夹
include_package_data=True, # 自动打包文件夹内所有数据
zip_safe=True, # 设定项目包为安全,不用每次都检测其安全性
install_requires = [ # 安装依赖的其他包
'pyyaml',
'Appium-Python-Client'
],
# dependency_links = [
# 'http://pypi.doubanio.com/simple/pyyaml'
# ],
# apkchecker
# 安装后,命令行执行apkchecker相当于调用ApkChecker.py中的checker方法
entry_points={
'console_scripts':[
'apkchecker = ApkChecker.checker:main'
]
},
# 如果要上传到PyPI,则添加以下信息
# author = "Me",
# author_email = "me@example.com",
# description = "This is an Example Package",
# license = "MIT",
# keywords = "hello world example examples",
# url = "http://example.com/HelloWorld/",
)