Coverage for src/ezcompiler/shared/_constants.py: 100.00%
3 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-07-04 11:22 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-07-04 11:22 +0000
1# ///////////////////////////////////////////////////////////////
2# CONSTANTS - Shared release/upload layout constants
3# Project: ezcompiler
4# ///////////////////////////////////////////////////////////////
6"""Shared layout constants for the release/update flow.
8The upload side (UploaderService) writes the TUF tree under UPDATE_SUBDIR
9and the installer zip under RELEASE_SUBDIR; the client side
10(UpdaterService) reads the TUF tree from UPDATE_SUBDIR. Keeping these names
11in one place prevents the two sides from drifting apart.
12"""
14from __future__ import annotations
16# Subdirectory holding the signed TUF tree (metadata + targets).
17UPDATE_SUBDIR = "update"
19# Subdirectory holding the distributable installer zip.
20RELEASE_SUBDIR = "release"