Commit a76d9b9
committed
Defer GUI launcher imports so individual tabs work without webrtc extra
gui/__init__.py used to eagerly import main_window, which transitively
loaded RemoteDesktopTab → webrtc_panel → webrtc_transport, requiring
the optional 'webrtc' extra (PyAV / aiortc). That broke any caller
doing 'from je_auto_control.gui.<tab> import X' on environments that
only installed the base wheel. Move the launcher imports inside
start_autocontrol_gui() so importing a single tab no longer pulls in
the WebRTC stack.1 parent a188841 commit a76d9b9
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | | - | |
| 6 | + | |
4 | 7 | | |
5 | | - | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | 22 | | |
| |||
0 commit comments