@@ -4,14 +4,9 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " bilibili-api-python"
7- authors = [
8- { name = " Nemo2011" , email = " yimoxia@outlook.com" },
9- ]
10- maintainers = [
11- { name = " MoyuScript" },
12- { name = " Nemo2011" },
13- ]
14- dynamic = [" version" , " readme" ] # 移除了 "dependencies"
7+ authors = [{ name = " Nemo2011" , email = " yimoxia@outlook.com" }]
8+ maintainers = [{ name = " MoyuScript" }, { name = " Nemo2011" }]
9+ dynamic = [" version" , " readme" ] # 移除了 "dependencies"
1510license = { text = " GPL-3.0-or-later" }
1611description = " The fork of module bilibili-api. 哔哩哔哩的各种 API 调用便捷整合(视频、动态、直播等),另外附加一些常用的功能。"
1712requires-python = " >=3.9"
@@ -26,11 +21,24 @@ classifiers = [
2621 " Programming Language :: Python :: 3.13" ,
2722]
2823scripts = { "ivitools" = " bilibili_api.tools.ivitools.__main__:main" }
24+ dependencies = [
25+ " beautifulsoup4~=4.13.4" ,
26+ " colorama~=0.4.6" ,
27+ " lxml~=5.4.0" ,
28+ " pyyaml~=6.0" ,
29+ " brotli~=1.1.0" ,
30+ " qrcode~=8.2" ,
31+ " APScheduler~=3.11.0" ,
32+ " pillow~=11.2.1" ,
33+ " yarl~=1.20.0" ,
34+ " pycryptodomex~=3.23.0" ,
35+ " qrcode_terminal~=0.8" ,
36+ " PyJWT~=2.10.1" ,
37+ ]
2938
3039[tool .setuptools .dynamic ]
3140version = { attr = " bilibili_api.BILIBILI_API_VERSION" }
3241readme = { file = [" README.md" ], content-type = " text/markdown" }
33- dependencies = { file = [" requirements.txt" ] } # 保留静态依赖项
3442
3543[tool .setuptools ]
3644packages = [
@@ -45,12 +53,7 @@ packages = [
4553]
4654
4755[tool .setuptools .package-data ]
48- "*" = [
49- " data/*.*" ,
50- " data/**/*.*" ,
51- " py.typed" ,
52- " requirements.txt" ,
53- ]
56+ "*" = [" data/*.*" , " data/**/*.*" , " py.typed" , " requirements.txt" ]
5457
5558[project .entry-points .pyinstaller40 ]
5659"hook-dirs" = " bilibili_api._pyinstaller.entry_points:get_hook_dirs"
0 commit comments