mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update python-app.yml
This commit is contained in:
23
.github/workflows/python-app.yml
vendored
23
.github/workflows/python-app.yml
vendored
@@ -226,22 +226,23 @@ jobs:
|
||||
|
||||
- name: Build Pillow from source (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: msys2 {0}
|
||||
shell: cmd
|
||||
run: |
|
||||
echo "=== Building Pillow from source ==="
|
||||
echo === Building Pillow from source ===
|
||||
|
||||
# Set up environment variables for the build
|
||||
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
export INCLUDE="/mingw64/include:$INCLUDE"
|
||||
export LIB="/mingw64/lib:$LIB"
|
||||
REM Add MSYS2 to PATH so Pillow can find the libraries
|
||||
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
|
||||
set PKG_CONFIG_PATH=C:\msys64\mingw64\lib\pkgconfig
|
||||
set INCLUDE=C:\msys64\mingw64\include;%INCLUDE%
|
||||
set LIB=C:\msys64\mingw64\lib;%LIB%
|
||||
|
||||
# Remove any existing Pillow installation
|
||||
uv pip uninstall -y pillow pillow-simd || true
|
||||
REM Remove any existing Pillow installation
|
||||
uv pip uninstall -y pillow pillow-simd
|
||||
|
||||
# Install build dependencies
|
||||
uv pip install --no-binary :all: --no-build-isolation pillow
|
||||
REM Install Pillow from source
|
||||
uv pip install --no-binary pillow --no-build-isolation pillow
|
||||
|
||||
echo "=== Pillow build completed ==="
|
||||
echo === Pillow build completed ===
|
||||
uv pip show pillow
|
||||
|
||||
- name: Install Dependencies
|
||||
|
||||
Reference in New Issue
Block a user