Files
kjvstudy.org/pyproject.toml
T
kennethreitz ffd9e8c187 Add PDF export for stories using WeasyPrint
- Add WeasyPrint dependency and system libs to Docker image
- Create PDF templates for adult and kids stories
- Add /stories/{slug}/pdf and /stories/{slug}/kids/pdf routes
- Add Download PDF button to story pages
- Add stories API endpoints: /api/stories and /api/stories/{slug}
- Gracefully handle missing WeasyPrint system libraries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 00:26:25 -05:00

45 lines
873 B
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 = [
"biblepy>=0.1.3",
"fastapi[standard]>=0.115.12",
"ged4py>=0.5.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",
]