mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-12 22:33:54 -04:00
The pinned mlx-video package requires Python 3.11 or newer, while an empty PYTHON_VERSION selected the backend helper default of 3.10. Pin the available 3.11.13 portable runtime for the Darwin package build. Assisted-by: Codex:gpt-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
15 lines
320 B
Bash
Executable File
15 lines
320 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: MIT
|
|
set -euo pipefail
|
|
|
|
USE_PIP=true
|
|
PYTHON_VERSION="3.11"
|
|
PYTHON_PATCH="13"
|
|
backend_dir=$(dirname "$0")
|
|
if [ -d "${backend_dir}/common" ]; then
|
|
source "${backend_dir}/common/libbackend.sh"
|
|
else
|
|
source "${backend_dir}/../common/libbackend.sh"
|
|
fi
|
|
installRequirements
|