Files
2026-05-28 20:16:38 +08:00

44 lines
778 B
TOML

[project]
name = "pyxray-backend"
version = "0.1.0"
description = "Backend runtime for the pyxray rewrite."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.116.0",
"httpx>=0.28.1",
"loguru>=0.7.3",
"pydantic>=2.11.0",
"typer>=0.16.0",
"tomlkit>=0.13.3",
"uvicorn>=0.35.0",
]
[project.scripts]
pyxray = "pyxray.cli:app"
pyxray-api = "pyxray.api.server:main"
[dependency-groups]
dev = [
"pytest>=8.3.0",
"ruff>=0.11.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["pyxray"]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]