Files
shared/packages/python-backend/pyproject.toml
T
Gabriel20xx add64ff180 refactor(auth): remove obsolete project restriction APIs
- Remove legacy project restriction schema and helpers
- Install Python test extras in CI
- Update the quality report status
2026-10-20 19:32:45 +00:00

36 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "gabriel20xx-shared-backend"
version = "0.1.1"
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"]
test = ["httpx2>=2"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I"]