Files
shared/packages/python-backend/pyproject.toml
T

34 lines
1019 B
TOML
Raw Normal View History

2026-08-04 15:17:15 +02:00
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "gabriel20xx-shared-backend"
2026-08-06 12:12:04 +02:00
version = "0.1.1"
2026-08-04 15:17:15 +02:00
description = "Shared PostgreSQL and authentication primitives for Python services."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"asyncpg>=0.30",
"bcrypt>=4.2",
]
# Optional: only shared_backend.authproxy needs these (a FastAPI-specific
# AuthGuard-proxy router builder). The rest of this package stays
# framework-agnostic by design - see authclient.py's module docstring.
# Install with `pip install gabriel20xx-shared-backend[fastapi]`; a consumer
# that already depends on FastAPI directly (as every current authproxy
# consumer does) satisfies this from its own requirements regardless.
[project.optional-dependencies]
fastapi = ["fastapi>=0.100", "pydantic>=2"]
2026-08-04 15:17:15 +02:00
[tool.setuptools.packages.find]
where = ["src"]
2026-08-04 15:23:36 +02:00
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I"]