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

1# /////////////////////////////////////////////////////////////// 

2# CONSTANTS - Shared release/upload layout constants 

3# Project: ezcompiler 

4# /////////////////////////////////////////////////////////////// 

5 

6"""Shared layout constants for the release/update flow. 

7 

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""" 

13 

14from __future__ import annotations 

15 

16# Subdirectory holding the signed TUF tree (metadata + targets). 

17UPDATE_SUBDIR = "update" 

18 

19# Subdirectory holding the distributable installer zip. 

20RELEASE_SUBDIR = "release"