forked from GC-ZF/nonebot_plugin_wordsnorote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (36 loc) · 1.66 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
35
36
37
38
39
40
41
42
from setuptools import setup, find_packages
with open ( "README.md", "r", encoding="utf-8", errors="ignore" ) as fh:
long_description = fh.read ()
setup (
name='nonebot_plugin_wordsnorote', # 这里是pip项目发布的名称
version='0.0.2', # 版本号,数值大的会优先被pip
keywords=[ "pip", "nonebot2", "nonebot", "English", "nonebot_plugin" ],
description="a nonebot plugin to remember words",
long_description=long_description,
# long_description = "An feature extraction algorithm, improve the FastICA",
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
url="https://github.com/GC-ZF/nonebot_plugin_wordsnorote", # 项目相关文件地址,一般是github
author="zhangshier",
author_email="1310446718@qq.com",
packages=find_packages (), # 系统自动从当前目录开始找包
# 如果有的文件不用打包,则只能指定需要打包的文件
# packages=['代码1','代码2','__init__'] # 指定目录中需要打包的py文件,注意不要.py后缀
python_requires=">=3.7.3,<4.0",
include_package_data=True,
platforms="any",
# install_requires = ["numpy"] #这个项目需要的第三方库
install_requires=[
'nonebot-plugin-apscheduler>=0.1.3',
'nonebot2>=2.0.0-beta.2',
'nonebot-adapter-onebot>=2.0.0b1',
'nonebot-adapter-onebot',
]
)
# python setup.py bdist_wheel # 打包为whl文件
# python setup.py sdist # 打包为tar.gz文件
# twine upload -u zhangshier -p dist/*