Distribution
Distribution builds are reproducible, scripted and scanned for secrets and personal paths.
Build#
python scripts/build_distribution.py --edition all --version 1.0.0
Outputs:
dist/zephai-dakidarts-1.0.0.zipdist/zephai-codester-1.0.0.zipdist/zephai-demo-1.0.0.zip
What changes per edition#
- Edition marker in
config/edition.py. - Codester/demo remove
apps/licensing, license templates, urls, middleware, context processor and enforcement settings. - Demo sets
ZEPHAI_ENV=demoand includes the read-only banner. - The build fails on personal server paths, private keys or license terms in a Codester archive.
Customer manual#
python scripts/build_documentation.py regenerates this site. Set ZEPHAI_EDITION=codester before building a Codester manual; the licensing page is pruned.
Release checklist#
- Bump
ZEPHAI_VERSION. - Run the full test suite and audits.
- Build docs and all archives.
- Unzip each archive in a clean directory, create a venv, migrate and boot.
- Verify no secrets,
db.sqlite3,.venv, logs or media are present. - Tag the commit and push.