mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 06:46:13 +00:00
57b4ed7dd9
Replaces gunicorn + uvicorn with granian across all entry points (Dockerfile, docker-compose, main.py, sidecar script). Static files are now served directly from granian's Rust layer, bypassing Python entirely for /static routes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[project]
|
|
name = "kjvstudy-org"
|
|
version = "0.1.0"
|
|
description = "Study the King James Bible with AI-powered commentary and insights"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"fastapi[standard]>=0.115.12",
|
|
"ged4py>=0.5.2",
|
|
"granian>=2.0",
|
|
"mistune>=3.0.2",
|
|
"parse>=1.20.2",
|
|
"python-gedcom>=1.0.0",
|
|
"requests>=2.32.3",
|
|
"weasyprint>=66.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3.5",
|
|
"pytest-cov>=6.0.0",
|
|
"pytest-xdist>=3.5.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
kjvstudy-org = "kjvstudy_org.main:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=45", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["kjvstudy_org*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
kjvstudy_org = ["static/*", "templates/*"]
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.3.5",
|
|
"pytest-cov>=7.0.0",
|
|
"pytest-xdist>=3.5.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-n 8"
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning:pydantic.*",
|
|
"ignore:.*example.* has been deprecated.*:DeprecationWarning",
|
|
]
|