[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[project]
name = "goodnews"
version = "0.1.0"
description = "Local-first constructive news ingestion and filtering prototype."
requires-python = ">=3.11"
# The ingestion CLI is intentionally pure-stdlib. The optional `web` extra adds
# the API/site layer so the two halves can be deployed and upgraded independently.
dependencies = []

[project.optional-dependencies]
web = [
    "fastapi>=0.110",
    "uvicorn[standard]>=0.29",
]
test = [
    "pytest>=8",
    "httpx>=0.27",
]

[project.scripts]
goodnews = "goodnews.cli:main"

[tool.setuptools]
packages = ["goodnews"]

[tool.setuptools.package-data]
goodnews = ["static/*"]

