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)
|
- name: Build Pillow from source (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
shell: msys2 {0}
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
echo "=== Building Pillow from source ==="
|
echo === Building Pillow from source ===
|
||||||
|
|
||||||
# Set up environment variables for the build
|
REM Add MSYS2 to PATH so Pillow can find the libraries
|
||||||
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:$PKG_CONFIG_PATH"
|
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
|
||||||
export INCLUDE="/mingw64/include:$INCLUDE"
|
set PKG_CONFIG_PATH=C:\msys64\mingw64\lib\pkgconfig
|
||||||
export LIB="/mingw64/lib:$LIB"
|
set INCLUDE=C:\msys64\mingw64\include;%INCLUDE%
|
||||||
|
set LIB=C:\msys64\mingw64\lib;%LIB%
|
||||||
|
|
||||||
# Remove any existing Pillow installation
|
REM Remove any existing Pillow installation
|
||||||
uv pip uninstall -y pillow pillow-simd || true
|
uv pip uninstall -y pillow pillow-simd
|
||||||
|
|
||||||
# Install build dependencies
|
REM Install Pillow from source
|
||||||
uv pip install --no-binary :all: --no-build-isolation pillow
|
uv pip install --no-binary pillow --no-build-isolation pillow
|
||||||
|
|
||||||
echo "=== Pillow build completed ==="
|
echo === Pillow build completed ===
|
||||||
uv pip show pillow
|
uv pip show pillow
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user