Files
voculinux/src/vocalinux/__init__.py
T
soubarnak ea7be5f111 feat(identity): rename user-visible identity to voculinux with one-time legacy import
The fork takes its own name everywhere a user can see it: binaries
(voculinux, voculinux-gui), desktop entry, autostart, tray, D-Bus
namespace (com.voculinux.Voculinux, no alias for the old name),
config/data/cache dirs, single-instance lock, IBus engine identity,
tray icons, resource prefixes, VOCULINUX_* environment names, and the
update-checker user agent. The internal Python module stays vocalinux
and the distribution metadata keeps the upstream URLs as provenance.

On first run a previous Vocalinux install's config.json, custom
dictionary, and portal restore token are copied once into the new
locations (new config always wins, no merge, no write-back); models
re-resolve through the pinned-checksum download path. An offline
naming-sweep test proves no old-name strings remain on user-visible
surfaces outside the allowlist.

Refs #18
2026-11-06 01:29:39 +05:30

21 lines
830 B
Python

"""
Voculinux - A seamless voice dictation system for Linux
Note: GTK-dependent modules are imported lazily in main.py to allow
the package to be imported even when system GTK typelibs are not available.
This is important for pip/pipx installations where PyGObject is installed
but system typelibs (AppIndicator3, etc.) may not be accessible.
"""
# Import common types first to avoid circular imports
from .common_types import RecognitionState # noqa: F401
# Import non-GTK modules that are safe to import at package level
from .utils import ResourceManager
# Single source of truth lives in version.py (also used by pyproject dynamic version).
from .version import __version__ # noqa: F401
# Note: speech_recognition, text_injection, and ui.tray_indicator
# are imported lazily in main.py to handle missing GTK gracefully