1
0

dependencies: bundle older hidapi in binaries

closes https://github.com/spesmilo/electrum/issues/7738
This commit is contained in:
SomberNight
2022-08-04 21:47:50 +02:00
parent d4f76143b0
commit 752b37a03b
3 changed files with 28 additions and 37 deletions

View File

@@ -774,7 +774,7 @@ class DeviceMgr(ThreadJob):
# add hidapi
from importlib.metadata import version
try:
ret["hidapi.version"] = version("hidapi")
ret["hidapi.version"] = version("hidapi") # FIXME does not work in macOS binary
except ImportError:
ret["hidapi.version"] = None
return ret