mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-05-22 14:51:18 +00:00
57 lines
1.0 KiB
TOML
57 lines
1.0 KiB
TOML
[project]
|
|
name = "liteyukibot"
|
|
version = "7.0.0"
|
|
description = "neo-liteyukibot is coming soon!"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115.12",
|
|
"hypercorn>=0.17.3",
|
|
"loguru>=0.7.3",
|
|
"pip>=25.1",
|
|
"pydantic>=2.11.3",
|
|
"pyyaml>=6.0.2",
|
|
"uvicorn>=0.34.2",
|
|
"yukilog>=0.1.1",
|
|
]
|
|
|
|
# 开发依赖
|
|
[dependency-groups]
|
|
dev = [
|
|
"mypy>=1.15.0",
|
|
"pytest>=8.3.5",
|
|
"ruff>=0.11.7",
|
|
]
|
|
|
|
# 辅助工具配置
|
|
[tool.ruff]
|
|
line-length = 140
|
|
src = ["liteyukibot", "cli", "main.py"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["I", "F", "E"]
|
|
|
|
|
|
# 构建相关
|
|
[build-system]
|
|
requires = ["pdm-backend >= 2.4.0"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[tool.pdm.build]
|
|
includes = ["liteyukibot"]
|
|
|
|
|
|
# 索引和源
|
|
[[tool.uv.index]]
|
|
name = "liteyuki-pypi"
|
|
url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/simple"
|
|
publish-url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi"
|
|
explicit = true
|
|
|
|
|
|
# 从轻雪源安装的包请在此标记
|
|
[tool.uv.sources]
|
|
yukilog = [
|
|
{ index = "liteyuki-pypi" },
|
|
]
|