Skip to content

Distribution

app.shared.distribution

View source code

Module for handling application distribution paths and Qt application metadata configuration.

See Also

Layer: Shared utilities. Context: Provides reusable cross-layer helpers without owning application workflow state.

APP_NAME = 'Blurzy' module-attribute

APP_VERSION = '1.2.0' module-attribute

APP_ORGANIZATION_NAME = 'CodeRSTech' module-attribute

bundled_resource_path(*relative_parts: str) -> Path

Return the absolute path to a bundled application resource.

PARAMETER DESCRIPTION
*relative_parts

Path components appended beneath the resource root.

TYPE: str DEFAULT: ()

RETURNS DESCRIPTION
Path

Absolute path to the requested resource.

configure_qt_application_metadata(q_app: QApplication) -> None

Set the Qt application name, version, organization, and optional icon.

PARAMETER DESCRIPTION
q_app

Qt application instance to configure.

TYPE: QApplication