Initialize uv-managed FastAPI backend
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[project]
|
||||
name = "entroia-backend-server"
|
||||
version = "0.1.0"
|
||||
description = "Python backend for the Entroia React SDK"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["fastapi>=0.115,<1", "uvicorn>=0.30,<1"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["httpx>=0.27,<1", "pytest>=8,<10", "ruff>=0.9,<1"]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/backend_server"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
Reference in New Issue
Block a user