Skip to content

Commit 6d54e35

Browse files
committed
sdwire: remove pyudev dependency
This commit removes the need for pyudev to detect block devices which removes a blocker for this tool to run on operating systems that dont have udev (namely windows,macos, etc.). This also enables `--version` option for the cli and it fetches the information from pyproject.toml file
1 parent fd1c705 commit 6d54e35

11 files changed

Lines changed: 1149 additions & 167 deletions

File tree

poetry.lock

Lines changed: 26 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python = "^3.12"
1212
click = "^8.1.7"
1313
pyusb = "^1.2.1"
1414
pyftdi = "^0.56.0"
15-
pyudev = "^0.24.3"
15+
1616

1717

1818
[tool.poetry.group.dev.dependencies]

sdwire/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""SDWire CLI package initialization."""
2+
3+
from sdwire import main
4+
5+
__all__ = ["main"]

0 commit comments

Comments
 (0)