Constants¶
Application-wide constants and path definitions. Only values used by 3+ unrelated
modules belong here. Module-specific constants go in that module's constants/ directory.
Files¶
| File | Content |
|---|---|
app.py |
Application identity (APP_NAME, APP_VERSION), window sizes, environment config |
cloud.py |
Cloud service endpoints (R2 bucket, GitHub API, OAuth config), environment switching |
paths.py |
Cross-module PathDef definitions (cache, stylesheets, icons, documents, logs) |
Path Definitions¶
Global PathDef constants in paths.py follow this rule: if a path is consumed by
three or more unrelated modules, define it here. Otherwise, define it in the owning
module's constants/paths.py.