startup: use wheelhouse when PIP_FIND_LINKS is set

This commit is contained in:
thePR0M3TH3AN committed 2025-06-01 11:00:49 -04:00
1 parent b2db3573b6
commit 395e34712f
1 file changed
+5 -1
+5 -1
View File
@@ -21,7 +21,11 @@ if [[ "${PIP_NO_INDEX:-}" != "1" ]]; then
fi
echo "📦 Installing dependencies from $REQ_FILE…"
pip install --upgrade -r "$REQ_FILE"
pip_args=(--upgrade)
if [[ -n "${PIP_FIND_LINKS:-}" ]]; then
pip_args+=(--find-links "$PIP_FIND_LINKS" --no-index)
fi
pip install "${pip_args[@]}" -r "$REQ_FILE"
if [[ ! -f "$DATA_DB" ]]; then
echo "🔄 data/fred.db missing; running refresh_data…"