Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (57 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (57 loc) · 1.99 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
54
55
56
57
58
59
60
61
62
63
[project]
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
authors = [
{name = "SK-415", email = "2967923486@qq.com"},
]
license = {text = "AGPL-3.0-or-later"}
requires-python = ">=3.8,<4.0"
dependencies = [
"click>=8.1.3",
"httpx>=0.24.1,<0.28",
"nonebot-adapter-onebot>=2.2.3",
"nonebot-plugin-apscheduler>=0.3.0",
"nonebot2[fastapi]>=2.0.0",
# fastapi 0.120+ 在 Python >= 3.14 上不再兼容 pydantic v1,故此处加上限;
# 低于 3.14 的 Python 不受影响,可以继续使用新版
"fastapi>=0.95.1,<0.119; python_version >= '3.14'",
"playwright>=1.35.0",
# 原来的 <=2.0 实际上允许 pydantic 2.0.0,而本项目使用的是 pydantic v1 的 API
"pydantic>=1.10.9,<2",
"python-dotenv>=1.0.0",
# tortoise-orm 1.x 改为上下文模型,与本项目的旧式 Tortoise.init() 不兼容
"tortoise-orm[asyncpg]>=0.19.3,<1",
"bilireq>=0.2.6",
"packaging>=23.1",
"nonebot-plugin-guild-patch>=0.2.3",
"msvc-runtime>=14.34.31931; sys_platform == \"win32\"",
"aunly-captcha-solver>=0.1",
]
dynamic = ["version"]
name = "haruka-bot"
description = "Push dynamics and live informations from bilibili to QQ. Based on nonebot2."
readme = "README.md"
keywords = ["nonebot", "nonebot2", "qqbot", "bilibili", "bot"]
[project.urls]
homepage = "https://github.com/SK-415/HarukaBot"
repository = "https://github.com/SK-415/HarukaBot/tree/master/src/plugins/haruka_bot"
documentation = "https://github.com/SK-415/HarukaBot#readme"
[tool.pdm.dev-dependencies]
dev = [
"nonebot-plugin-gocqhttp>=0.6.10",
]
[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" }
]
plugins = ["haruka_bot", "nonebot_plugin_gocqhttp", "nonebot_plugin_guild_patch"]
plugin_dirs = []
builtin_plugins = []
[project.scripts]
hb = "haruka_bot.__main__:main"
[tool.pdm.version]
source = "file"
path = "haruka_bot/version.py"
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"