Merge pull request #36 from PR0M3TH3AN/codex/modify-startup.sh-to-handle-pip_find_links

Use wheelhouse via PIP_FIND_LINKS
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-06-01 11:01:35 -04:00
commit 51971a5c7c
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…"