fix: update dependencies for platform-specific installation of openhop_core

This commit is contained in:
agessaman
2026-07-06 11:23:25 -07:00
committed by Rightup
parent 4a124782ae
commit d8bc448f82
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -520,7 +520,9 @@ pre-commit run --all-files
```
Hardware support for LoRa radio drivers is included in the base installation
through `openhop_core[hardware]`.
through `openhop_core[hardware]` on Linux. On other platforms (e.g. macOS),
`openhop_core` is installed without the hardware extra, since `spidev` and
similar packages only build against the Linux SPI kernel headers.
Pre-commit hooks will automatically:
- Lint and auto-fix Python issues with Ruff
+2 -1
View File
@@ -29,7 +29,8 @@ keywords = ["mesh", "networking", "lora", "repeater", "daemon", "iot"]
dependencies = [
"openhop_core[hardware] @ git+https://github.com/openhop-dev/openhop_core.git@dev",
"openhop_core[hardware] @ git+https://github.com/openhop-dev/openhop_core.git@dev ; sys_platform == 'linux'",
"openhop_core @ git+https://github.com/openhop-dev/openhop_core.git@dev ; sys_platform != 'linux'",
"pyyaml>=6.0.0",
"cherrypy>=18.0.0",
"paho-mqtt>=1.6.0",