-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (31 loc) · 1.33 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
from setuptools import setup, find_packages
setup(
# 以下为必需参数
name='rimetool', # 模块名
version='0.1.3', # 当前版本
description='rime输入法相关工具', # 简短描述
packages=find_packages(include=['rimetool', 'rimetool.*']), # 包含rimetool和rimetool下的所有子包
# 以下均为可选参数
long_description="rime输入法相关工具",# 长描述
url='https://github.com/whitewatercn/rimetool', # 主页链接
author='whitewatercn', # 作者名
author_email='[email protected]', # 作者邮箱
classifiers=[
'Intended Audience :: Developers', # 模块适用人群
'Topic :: Software Development :: Build Tools', # 给模块加话题标签
],
keywords=['rime','input method editor tool','python'], # 模块的关键词,使用空格分割
install_requires=['pypinyin',
'argparse',
'click'], # 依赖模块
python_requires='>=3.0', # 模块支持的Python版本
entry_points={ # 新建终端命令并链接到模块函数
'console_scripts': [
'rimetool=rimetool.main:main',
],
},
project_urls={ # 项目相关的额外链接
'Bug Reports': 'https://github.com/whitewatercn/rimetool/issues',
'Source': 'https://github.com/whitewatercn/rimetool',
},
)