QUELLCODE / PY
package.py
scripts/package.py
1# OpenAss: nur privater, experimenteller Gebrauch; auf eigene Verantwortung.2# Niemals Unternehmensrechner, Produktivsysteme, Industrieanlagen oder3# sicherheitskritische Systeme anschließen oder bedienen.4# Haftungshinweis und gesetzliche Grenzen: ../DISCLAIMER.txt.5"""Build the verified public archive through the strict release allowlist."""6from pathlib import Path7import runpy8import shutil9import sys1011root = Path(__file__).resolve().parents[1]12output = root / "dist" / "hardware-box-reference.zip"13output.parent.mkdir(exist_ok=True)14sys.path.insert(0, str(root / "project-site"))15runpy.run_path(str(root / "project-site/build_downloads.py"), run_name="__main__")16shutil.copyfile(root / "project-site/downloads/openass-complete-project.zip", output)17print(output)