enode-host 0.1.2__tar.gz → 0.1.4__tar.gz

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.
Files changed (45) hide show
  1. {enode_host-0.1.2 → enode_host-0.1.4}/PKG-INFO +5 -5
  2. {enode_host-0.1.2 → enode_host-0.1.4}/README.md +4 -4
  3. {enode_host-0.1.2 → enode_host-0.1.4}/pyproject.toml +1 -1
  4. enode_host-0.1.4/setup.py +3 -0
  5. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/cli.py +4 -0
  6. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/view.py +0 -4
  7. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host.egg-info/PKG-INFO +5 -5
  8. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host.egg-info/SOURCES.txt +1 -0
  9. {enode_host-0.1.2 → enode_host-0.1.4}/setup.cfg +0 -0
  10. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/__init__.py +0 -0
  11. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/async_socket.py +0 -0
  12. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/c-wing3.py +0 -0
  13. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/c.py +0 -0
  14. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/esp_mesh.py +0 -0
  15. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/gui_comps.py +0 -0
  16. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/gui_wx_bk.py +0 -0
  17. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/load_file.py +0 -0
  18. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/mesh.py +0 -0
  19. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/mesh_bk.py +0 -0
  20. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/s.py +0 -0
  21. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/sandbox.py +0 -0
  22. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/shm.py +0 -0
  23. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/shmtools.py +0 -0
  24. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/smarts.py +0 -0
  25. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/test_wxpython_choice.py +0 -0
  26. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/view-wing3.py +0 -0
  27. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/wx_example.py +0 -0
  28. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/backup/wx_test01.py +0 -0
  29. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/config.py +0 -0
  30. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/constants.py +0 -0
  31. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/framed_mesh.py +0 -0
  32. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/gui_framed.py +0 -0
  33. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/model.py +0 -0
  34. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/protocol.py +0 -0
  35. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/psd_recursive.py +0 -0
  36. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/queues.py +0 -0
  37. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/resampling.py +0 -0
  38. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/shm_sigproc.py +0 -0
  39. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/storage.py +0 -0
  40. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/timestamping.py +0 -0
  41. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host/types.py +0 -0
  42. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host.egg-info/dependency_links.txt +0 -0
  43. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host.egg-info/entry_points.txt +0 -0
  44. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host.egg-info/requires.txt +0 -0
  45. {enode_host-0.1.2 → enode_host-0.1.4}/src/enode_host.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: enode-host
3
- Version: 0.1.2
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
- - The GUI sets `WEBKIT_DISABLE_DMABUF_RENDERER=1` by default on Linux to avoid
41
- WebView/EGL crashes. You can override it by exporting a different value.
42
- - If the GUI still aborts with WebView/EGL errors, you can disable the map panel
43
- with `ENODE_DISABLE_WEBVIEW=1 enode-host gui`.
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
 
@@ -25,10 +25,10 @@ enode-host gui --port 3333
25
25
  - The GUI uses wxPython; install it if you plan to run `enode-host gui`.
26
26
  - The GUI needs an active X11/Wayland display. On headless hosts, use
27
27
  `xvfb-run enode-host gui` or run `enode-host server` instead.
28
- - The GUI sets `WEBKIT_DISABLE_DMABUF_RENDERER=1` by default on Linux to avoid
29
- WebView/EGL crashes. You can override it by exporting a different value.
30
- - If the GUI still aborts with WebView/EGL errors, you can disable the map panel
31
- with `ENODE_DISABLE_WEBVIEW=1 enode-host gui`.
28
+ - If the GUI aborts with WebView/EGL errors on Linux, try
29
+ `WEBKIT_DISABLE_DMABUF_RENDERER=1 enode-host gui`.
30
+ - If WebView still fails, you can disable the map panel with
31
+ `ENODE_DISABLE_WEBVIEW=1 enode-host gui`.
32
32
 
33
33
  ## Protocol (TCP, length-prefixed)
34
34
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "enode-host"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  description = "Host-side tools that interact with the ESP-IDF firmware."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -0,0 +1,3 @@
1
+ from setuptools import setup
2
+
3
+ setup()
@@ -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:
@@ -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.2
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
- - The GUI sets `WEBKIT_DISABLE_DMABUF_RENDERER=1` by default on Linux to avoid
41
- WebView/EGL crashes. You can override it by exporting a different value.
42
- - If the GUI still aborts with WebView/EGL errors, you can disable the map panel
43
- with `ENODE_DISABLE_WEBVIEW=1 enode-host gui`.
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,5 +1,6 @@
1
1
  README.md
2
2
  pyproject.toml
3
+ setup.py
3
4
  src/enode_host/__init__.py
4
5
  src/enode_host/async_socket.py
5
6
  src/enode_host/cli.py
File without changes