"""
CARL Control Panel - Entry point for pip install.
This file re-exports from launcher.pyw for cross-platform compatibility.
"""
# Import everything from the .pyw file (Python can import .pyw as regular Python)
import importlib.util
import sys
from pathlib import Path

# Load launcher.pyw as a module
_launcher_path = Path(__file__).parent / "launcher.pyw"
_spec = importlib.util.spec_from_file_location("_launcher_impl", _launcher_path)
_launcher_impl = importlib.util.module_from_spec(_spec)
_spec.loader.exec_module(_launcher_impl)

# Re-export main
main = _launcher_impl.main

if __name__ == "__main__":
    main()
