build(python): migrate to uv (#5222)

This commit is contained in:
David Lane
2026-05-30 17:37:14 -04:00
committed by GitHub
parent 4e9e0d4c66
commit 0e35140576
14 changed files with 801 additions and 76 deletions

View File

@@ -147,7 +147,7 @@ class Sunshine < Formula
# Install jinja2 (required by the glad OpenGL/EGL loader generator) into a
# temporary virtualenv. We pass its Python path to cmake via Python_EXECUTABLE
# so glad uses the venv Python that has jinja2, and set GLAD_SKIP_PIP_INSTALL=ON
# to prevent cmake from trying to pip-install again.
# to prevent cmake from trying to install Python dependencies again.
# Follows https://docs.brew.sh/Formula-Cookbook#python-dependencies
venv = virtualenv_create(buildpath/"venv", "python3")
venv.pip_install resources