Add investor business plan (draft 0.1) with its Python builder

Leased land instead of purchase, in-house cassette duplication, CD-R
duplication with CD replication shown as a separate investor decision,
Ploy Printing as packaging partner and intended co-investor, and a
dedicated section on traceability, metrology, QC and efficiency.
This commit is contained in:
grabowski committed 2026-09-10 10:20:05 +02:00
1 parent 1bbef055c4
commit 3934dc1dc4
7 files changed
+1860

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
"""Build the CNX Vinyl business plan .docx.
python build_plan.py -> ../CNX-Vinyl-Business-Plan.docx
python build_plan.py out.docx -> custom path
Images are resolved relative to docs/ (the parent of business-plan/).
"""
from __future__ import annotations
import sys
from pathlib import Path
HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE))
from plan_lib import Renderer # noqa: E402
import content_a, content_b, content_c # noqa: E402
DOCS = HERE.parent.parent # .../docs
OUT = HERE.parent / "CNX-Vinyl-Business-Plan.docx"
def main(out: Path = OUT) -> Path:
r = Renderer(DOCS, header_text="CNX Vinyl / Poy Records: Business plan, draft 0.1, September 2026",
footer_text="Confidential")
r.render(content_a.blocks() + content_b.blocks() + content_c.blocks())
r.save(out)
return out
if __name__ == "__main__":
target = Path(sys.argv[1]) if len(sys.argv) > 1 else OUT
print(main(target))