v0.1.2 修复发布问题

v0.1.2 开始发布至 pypi,可以从 pypi 下载本项目然后四处部署了~
另外添加了 README.md 文件。
This commit is contained in:
2026-04-26 00:00:21 +08:00
parent 247d9f089c
commit c32995edd4
3 changed files with 45 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "njupt-suan-api"
version = "0.1.1"
version = "0.1.2"
description = "API and MCP server for NJUPT infomation ~"
readme = "README.md"
requires-python = ">=3.13"
@@ -30,11 +30,12 @@ suanapi = "njupt_suan_api.manage:app"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
artifacts = ["src/njupt_suan_api/static/**"]
[tool.hatch.build.targets.wheel]
packages = ["src/njupt_suan_api"]
[tool.hatch.build.targets.wheel.force-include]
"src/njupt_suan_api/static" = "njupt_suan_api/static"
artifacts = ["src/njupt_suan_api/static/**"]
[tool.ruff]
preview = true