Fix setuptools (#11772)

This commit is contained in:
Slaviša Arežina
2026-02-10 20:54:30 +01:00
committed by GitHub
parent fc2559c702
commit 3735f9251b

View File

@@ -45,7 +45,8 @@ fi
cd /opt/libretranslate
$STD uv venv --clear .venv --python 3.12
$STD source .venv/bin/activate
$STD uv pip install --upgrade pip setuptools
$STD uv pip install --upgrade pip
$STD uv pip install "setuptools<81"
$STD uv pip install Babel==2.12.1
$STD .venv/bin/python scripts/compile_locales.py
$STD uv pip install "torch==${TORCH_VERSION}" --extra-index-url https://download.pytorch.org/whl/cpu