Update pip install command format for hardware dependencies in management scripts

This commit is contained in:
Lloyd
2026-03-09 11:03:49 +00:00
parent ce8cdfd48d
commit 0ed78a2eed
2 changed files with 3 additions and 3 deletions

View File

@@ -393,7 +393,7 @@ exec python3 -m pip install \
--break-system-packages \
--no-cache-dir \
--force-reinstall \
"git+https://github.com/rightup/pyMC_Repeater.git@${CHANNEL}[hardware]"
"pymc_repeater[hardware] @ git+https://github.com/rightup/pyMC_Repeater.git@${CHANNEL}"
UPGRADEEOF
chmod 0755 /usr/local/bin/pymc-do-upgrade
@@ -726,7 +726,7 @@ exec python3 -m pip install \
--break-system-packages \
--no-cache-dir \
--force-reinstall \
"git+https://github.com/rightup/pyMC_Repeater.git@${CHANNEL}[hardware]"
"pymc_repeater[hardware] @ git+https://github.com/rightup/pyMC_Repeater.git@${CHANNEL}"
UPGRADEEOF
chmod 0755 /usr/local/bin/pymc-do-upgrade
echo " ✓ Permissions updated"

View File

@@ -376,7 +376,7 @@ def _do_install() -> None:
if is_root:
install_spec = (
f"git+https://github.com/{GITHUB_OWNER}/{GITHUB_REPO}.git@{channel}[hardware]"
f"pymc_repeater[hardware] @ git+https://github.com/{GITHUB_OWNER}/{GITHUB_REPO}.git@{channel}"
)
_state.append_line(f"[pyMC updater] Running as root direct pip install")
_state.append_line(f"[pyMC updater] Target: {install_spec}")