enode-host 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- enode_host/cli.py +4 -0
- enode_host/view.py +0 -4
- {enode_host-0.1.2.dist-info → enode_host-0.1.4.dist-info}/METADATA +5 -5
- {enode_host-0.1.2.dist-info → enode_host-0.1.4.dist-info}/RECORD +7 -7
- {enode_host-0.1.2.dist-info → enode_host-0.1.4.dist-info}/WHEEL +1 -1
- {enode_host-0.1.2.dist-info → enode_host-0.1.4.dist-info}/entry_points.txt +0 -0
- {enode_host-0.1.2.dist-info → enode_host-0.1.4.dist-info}/top_level.txt +0 -0
enode_host/cli.py
CHANGED
|
@@ -152,6 +152,10 @@ def _setup_logging() -> None:
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
def _display_available() -> bool:
|
|
155
|
+
# macOS/Windows GUI backends do not rely on X11/Wayland env vars.
|
|
156
|
+
if not sys.platform.startswith("linux"):
|
|
157
|
+
return True
|
|
158
|
+
|
|
155
159
|
wayland_display = os.environ.get("WAYLAND_DISPLAY")
|
|
156
160
|
xdg_runtime_dir = os.environ.get("XDG_RUNTIME_DIR")
|
|
157
161
|
if wayland_display and xdg_runtime_dir:
|
enode_host/view.py
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
###########################################################################
|
|
15
15
|
|
|
16
16
|
import os
|
|
17
|
-
import sys
|
|
18
17
|
import wx
|
|
19
18
|
import wx.xrc
|
|
20
19
|
import wx.grid
|
|
@@ -39,9 +38,6 @@ def _env_truthy(name: str) -> bool:
|
|
|
39
38
|
return value.strip().lower() in {"1", "true", "yes", "y", "on"}
|
|
40
39
|
|
|
41
40
|
|
|
42
|
-
if sys.platform.startswith("linux"):
|
|
43
|
-
os.environ.setdefault("WEBKIT_DISABLE_DMABUF_RENDERER", "1")
|
|
44
|
-
|
|
45
41
|
try:
|
|
46
42
|
if _env_truthy("ENODE_DISABLE_WEBVIEW"):
|
|
47
43
|
webview = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: enode-host
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Host-side tools that interact with the ESP-IDF firmware.
|
|
5
5
|
Author: eNode team
|
|
6
6
|
License: MIT
|
|
@@ -37,10 +37,10 @@ enode-host gui --port 3333
|
|
|
37
37
|
- The GUI uses wxPython; install it if you plan to run `enode-host gui`.
|
|
38
38
|
- The GUI needs an active X11/Wayland display. On headless hosts, use
|
|
39
39
|
`xvfb-run enode-host gui` or run `enode-host server` instead.
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
- If
|
|
43
|
-
|
|
40
|
+
- If the GUI aborts with WebView/EGL errors on Linux, try
|
|
41
|
+
`WEBKIT_DISABLE_DMABUF_RENDERER=1 enode-host gui`.
|
|
42
|
+
- If WebView still fails, you can disable the map panel with
|
|
43
|
+
`ENODE_DISABLE_WEBVIEW=1 enode-host gui`.
|
|
44
44
|
|
|
45
45
|
## Protocol (TCP, length-prefixed)
|
|
46
46
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
enode_host/__init__.py,sha256=3u-uEwRU8FkoffjeP5Z06eQSAkLw68KD5n5tpydZaNo,69
|
|
2
2
|
enode_host/async_socket.py,sha256=Iuys0cqjYBVyH7TY4huQmmNcNBGRFBfd2k4uwTm-9EY,6434
|
|
3
|
-
enode_host/cli.py,sha256=
|
|
3
|
+
enode_host/cli.py,sha256=ifsyQl_5kffrdX1FfPVDXfrTZMoFXwQQ0Mxjnzq__Hc,10754
|
|
4
4
|
enode_host/config.py,sha256=XVJ7Yco78Yc7pUm3goTxEhBmRH-IFHex2S9UaKVB4Y0,310
|
|
5
5
|
enode_host/constants.py,sha256=qnG8GvfYs0q0vozFAOhtYpqi9Au2LeszGJrDQbl4cfo,687
|
|
6
6
|
enode_host/framed_mesh.py,sha256=H37BA7XBSURL3qrJ0slVuLQEol0RQD7j-CyIcDMJCCE,10363
|
|
@@ -14,7 +14,7 @@ enode_host/shm_sigproc.py,sha256=dIHxg2POcqdicRSoD2hNemK0bdT5v6qGF0UiH3yFMuA,132
|
|
|
14
14
|
enode_host/storage.py,sha256=ms_7NEs4xadk0tRHxLmED3aEGhv0e0kQWd9bbYaEc7E,3340
|
|
15
15
|
enode_host/timestamping.py,sha256=TwgaDp1ZwfGMRx_aEU17ZcQpug3eybGS1QK8ZuXjW1M,3157
|
|
16
16
|
enode_host/types.py,sha256=hYfseOfs2P-Fs39Q3U_INcoVljI9QhL5BESZ5i8pK9c,1087
|
|
17
|
-
enode_host/view.py,sha256=
|
|
17
|
+
enode_host/view.py,sha256=d4V4Qw9wX0o_IsRfFSAoJ_6Qn30r-0NXGGNaq36kXVA,63742
|
|
18
18
|
enode_host/backup/c-wing3.py,sha256=eJcbo3Zi8pLx8fVoY1aXLlF2wluByaZup8JEEVMmzkw,7395
|
|
19
19
|
enode_host/backup/c.py,sha256=nojFZjhu1YhldcVzV3lsrCeLSHn5ypEYLz8JkW90ryc,7407
|
|
20
20
|
enode_host/backup/esp_mesh.py,sha256=88Qs_ABk2VyJssiFSgP2Bx53OW1GdhFy40BpaMiYwMQ,4879
|
|
@@ -32,8 +32,8 @@ enode_host/backup/test_wxpython_choice.py,sha256=D4X_F17WTmuOWjeSaoJSkdUaUQN1Smb
|
|
|
32
32
|
enode_host/backup/view-wing3.py,sha256=UC-btSlO0jBxXTcXDTJWCSTotDLYvl1I1Sow70SyPss,21280
|
|
33
33
|
enode_host/backup/wx_example.py,sha256=fYVNWW2UMZntfU43DWhoGRzzBSy_slS7TgpC3ADIAUM,1715
|
|
34
34
|
enode_host/backup/wx_test01.py,sha256=Hjxk6vH0fR9IiaiBmlvMrQxlAUav_2oM0N-rhuhuFko,1270
|
|
35
|
-
enode_host-0.1.
|
|
36
|
-
enode_host-0.1.
|
|
37
|
-
enode_host-0.1.
|
|
38
|
-
enode_host-0.1.
|
|
39
|
-
enode_host-0.1.
|
|
35
|
+
enode_host-0.1.4.dist-info/METADATA,sha256=JIcYaIud9PRD4hifSqSiskZ42vSUWuNXskRs3pOZFbY,2430
|
|
36
|
+
enode_host-0.1.4.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
37
|
+
enode_host-0.1.4.dist-info/entry_points.txt,sha256=kIE7OEbJaaHseFwIL8JGkK13AnIcLPUpHZ8AaAU0aPw,51
|
|
38
|
+
enode_host-0.1.4.dist-info/top_level.txt,sha256=CLkZ85gscsAQAI6aophWEVtMQcLpyVI06DB4UoW4Xys,11
|
|
39
|
+
enode_host-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|