target-revenue/pyproject.toml
tegwick c89b4aa4a5 Implement WP-0009-T04: Control Plane interactive UI on whynot-design
Builds the Control Plane's browser UI (login, dashboard, Phase
registration, Development Credit entry/proposal/review, credential
admin, audit log) as a FastAPI + Jinja2 app over the already-finished
T03 backend, rather than from scratch — whynot-design's Lit web
components are vendored as static assets (source commit 4b62cffc,
v0.4.1), with lit itself resolved via an esm.sh CDN import map.

Session auth re-checks the credential token against the database on
every request rather than trusting the session cookie's cached rights,
so a mid-session revocation takes effect immediately.

9 new Docker-gated HTTP-level tests via FastAPI's TestClient (no
browser-automation tool available, so real rendering of the <wn-*>
components was never visually verified). All four WP-0009 tasks are
now done; workplan marked finished.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 15:43:16 +02:00

39 lines
909 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "target-revenue"
version = "0.1.0"
description = "Stage 0 schemas, pure Outstanding Target fold, and offline validators for the Target Revenue Framework (TRF)."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "TRSL-0.1 (Target Revenue Source License, preliminary candidate — see LICENSE)" }
dependencies = [
"jsonschema>=4.21",
"cryptography>=42.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
]
service = [
"psycopg[binary]>=3.1",
"psycopg-pool>=3.1",
"fastapi>=0.110",
"uvicorn>=0.27",
"jinja2>=3.1",
"itsdangerous>=2.1",
"python-multipart>=0.0.9",
]
service-dev = [
"target-revenue[service,dev]",
"httpx>=0.27",
]
[tool.hatch.build.targets.wheel]
packages = ["src/target_revenue"]
[tool.pytest.ini_options]
testpaths = ["tests"]