mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-26 19:42:46 +02:00
fix: update dependencies for platform-specific installation of openhop_core
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user