v0.1.4 修复初始化时 playwright 命令未找到、补充元数据

1. 初始化时,运行 playwright install chromium 时,现在会指定 sys.excuteable 来避免未找到
playwright 命令。
2. 遵循 AI 和 pypi 的建议在 pyproject.toml 中补充了一些元数据。
This commit is contained in:
2026-04-26 18:40:21 +08:00
parent 2aee776bad
commit 5500c55b71
3 changed files with 50 additions and 2 deletions

View File

@@ -4,6 +4,22 @@ version = "0.1.3"
description = "API and MCP server for NJUPT infomation ~"
readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
authors = [
{ name = "MangoFanFanw", email = "mangofanfanw@icloud.com" }
]
maintainers = [
{ name = "MangoFanFanw", email = "mangofanfanw@icloud.com" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"aiofiles>=25.1.0",
"beautifulsoup4>=4.14.3",
@@ -23,6 +39,13 @@ dependencies = [
"websockets>=16.0",
]
[project.urls]
Homepage = "https://suan.mangofanfan.cn"
Documentation = "https://suan.mangofanfan.cn"
Repository = "https://github.com/mangofanfan/NJUPT-Suan-API.git"
Changelog = "https://github.com/mangofanfan/NJUPT-Suan-API/blob/master/CHANGELOG.md"
Issues = "https://github.com/mangofanfan/NJUPT-Suan-API/issues"
[project.scripts]
njupt-suan-api = "njupt_suan_api.manage:app"