-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (32 loc) · 1.43 KB
/
Copy pathpyproject.toml
File metadata and controls
38 lines (32 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kirby-sheet"
version = "0.2.1"
description = "Render a HERO Designer character through HD's own .hde export templates, byte for byte."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
authors = [{ name = "Peter D Bethke" }]
keywords = ["hero-system", "champions", "hero-designer", "rpg", "tabletop"]
# Same posture as kirby-cost: source-available, not OSI-approved, so no SPDX
# short identifier exists and LicenseRef- is the correct form.
license = "LicenseRef-PolyForm-Noncommercial-1.0.0"
license-files = ["LICENSE"]
dependencies = ["kirby-cost>=0.4.0", "beautifulsoup4>=4.12"]
[project.optional-dependencies]
# pypdf is what tests/test_pdf_output.py READS the rendered PDF back with; the
# PDF extra below is what WRITES it. A fresh `pip install -e ".[dev]"` failed
# collection on `import pypdf` (2026-08-28) because it lived in neither group.
# The dev group now pulls the pdf extra too, since the PDF tests are not
# optional.
dev = ["pytest>=7.4.0", "mypy>=1.5.0", "black>=23.0.0", "flake8>=6.0.0",
"pypdf>=4.0", "kirby-sheet[pdf]"]
# xhtml2pdf pins reportlab<5 -- do not add reportlab directly, it arrives
# transitively.
pdf = ["xhtml2pdf>=0.2.17"]
[project.scripts]
kirby-sheet = "kirby_sheet.cli:main"
[tool.setuptools.packages.find]
include = ["kirby_sheet*"]
exclude = ["tests*"]