mirror of
https://github.com/PR0M3TH3AN/python_charts.git
synced 2026-10-27 08:50:39 +00:00
startup: use wheelhouse when PIP_FIND_LINKS is set
This commit is contained in:
1 parent
b2db3573b6
commit
395e34712f
1 file changed
+5
-1
+5
-1
@@ -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…"
|
||||
|
||||
Reference in new issue
Block a user