mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-03-28 17:43:06 +01:00
Update pip install command format for hardware dependencies in management scripts
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user