Replace Poetry with uv
Use standard project metadata, dependency groups, and the uv build backend. The new lock preserves the previous dependency versions. Documentation and services use uv, and services leave their shared environment unchanged at startup. Remove the entry point for the empty USB HID prototype. Exclude local prototypes, captures, and the external Type 7 lookup table from version control and distributions.
This commit is contained in:
+4
-4
@@ -11,9 +11,9 @@ other packets are listed separately. Use --watch to print every decoded/raw
|
||||
packet until Ctrl+C. Watch output can contain private identifiers.
|
||||
|
||||
Usage:
|
||||
poetry run python tools/ecoflow-bt.py --user-id <id> --scan
|
||||
poetry run python tools/ecoflow-bt.py --email you@example.com --scan
|
||||
poetry run python tools/ecoflow-bt.py --user-id <id> --device <address> --serial-number <serial>
|
||||
uv run --extra ecoflow-bt python tools/ecoflow-bt.py --user-id <id> --scan
|
||||
uv run --extra ecoflow-bt python tools/ecoflow-bt.py --email you@example.com --scan
|
||||
uv run --extra ecoflow-bt python tools/ecoflow-bt.py --user-id <id> --device <address> --serial-number <serial>
|
||||
"""
|
||||
|
||||
import argparse
|
||||
@@ -27,7 +27,7 @@ try:
|
||||
from bmspy.ecoflow_proto import decode_payload, decode_protobuf, decode_river2_payload
|
||||
except ImportError as exc:
|
||||
sys.exit(f"Missing dependency: {exc}\n"
|
||||
"Run: poetry install -E ecoflow-bt")
|
||||
"Run: uv sync --extra ecoflow-bt")
|
||||
|
||||
# ── Model profiles (no device-specific identifiers) ──────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user