app/pyproject.toml

57 lines
1.6 KiB
TOML
Raw Normal View History

2024-07-21 16:06:50 +08:00
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
# This file is liteyuki framework use only, don`t use it with applications or nb-cli.
# 此文件仅供 liteyuki 框架使用请勿用于应用程序及nb-cli请使用pip进行安装。
[project]
name = "liteyukibot"
dynamic = ["version"]
description = "A lightweight bot process management framework and application."
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "snowykami", email = "snowykami@outlook.com" },
]
license = { text = "MIT&LSO" }
2024-07-21 16:06:50 +08:00
dependencies = [
"loguru~=0.7.2",
2024-10-14 20:57:30 +08:00
"pydantic>=2.9.2",
"PyYAML>=6.0.2",
"toml>=0.10.2",
"watchdog>=4.0.1",
"pdm-backend>=2.3.3",
2024-10-20 23:35:44 +08:00
"magicoca>=1.0.6",
2024-10-20 23:36:49 +08:00
"croterline>=1.0.9",
]
2024-07-21 16:06:50 +08:00
[project.urls]
Homepage = "https://bot.liteyuki.icu"
Repository = "https://github.com/LiteyukiStudio/LiteyukiBot"
"Issue Tracker" = "https://github.com/LiteyukiStudio/LiteyukiBot/issues/new?assignees=&labels=&projects=&template=%E9%97%AE%E9%A2%98%E5%8F%8D%E9%A6%88.md&title="
2024-07-21 16:06:50 +08:00
[build-system]
2024-08-18 21:45:11 +08:00
requires = ["pdm-backend"]
build-backend = "pdm.backend"
2024-07-21 16:06:50 +08:00
[tool.pdm.build]
includes = ["liteyuki/", "LICENSE", "README.md"]
excludes = ["tests/", "docs/", "src/"]
fallback_version = "0.1.0"
[tool.pdm.version]
source = "scm"
tag_filter = "v*"
tag_regex = '^v(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$'
fallback_version = "0.1.0"
[dependency-groups]
dev = [
"pytest>=8.3.3",
"black>=24.10.0",
"uv>=0.4.20",
"mypy>=1.11.2",
"pre-commit>=4.0.1",
]