v0.1.2 修复发布问题
v0.1.2 开始发布至 pypi,可以从 pypi 下载本项目然后四处部署了~ 另外添加了 README.md 文件。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user