Show pip progress bars during deploy instead of silent installs.
Replace -q with --progress-bar so dependency installation visibly continues in setup_env and update flows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,18 +24,18 @@ update_quick() {
|
||||
|
||||
update_deps() {
|
||||
step "依赖更新"
|
||||
local dir req
|
||||
local dir
|
||||
for dir in crypto_monitor_binance crypto_monitor_gate crypto_monitor_okx; do
|
||||
local proj="${REPO_ROOT}/${dir}"
|
||||
if [[ -x "${proj}/.venv/bin/pip" ]]; then
|
||||
log "pip install ${dir}"
|
||||
"${proj}/.venv/bin/pip" install -r "${REPO_ROOT}/requirements.txt" -q
|
||||
step "${dir}"
|
||||
pip_install_requirements "${proj}/.venv/bin/pip" "${REPO_ROOT}/requirements.txt" "交易所共用依赖"
|
||||
fi
|
||||
done
|
||||
local hub="${REPO_ROOT}/manual_trading_hub"
|
||||
if [[ -x "${hub}/.venv/bin/pip" && -f "${hub}/requirements.txt" ]]; then
|
||||
log "pip install manual_trading_hub"
|
||||
"${hub}/.venv/bin/pip" install -r "${hub}/requirements.txt" -q
|
||||
step "manual_trading_hub"
|
||||
pip_install_requirements "${hub}/.venv/bin/pip" "${hub}/requirements.txt" "中控依赖"
|
||||
fi
|
||||
update_quick
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user