mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Wrap arguments before passing
Co-authored-by: nulano <nulano@nulano.eu>
This commit is contained in:
parent
7f0c49a6c7
commit
d5e03cca88
|
@ -72,7 +72,7 @@ before_deploy:
|
|||
- cd c:\pillow
|
||||
- '%PYTHON%\%EXECUTABLE% -m pip install wheel'
|
||||
- cd c:\pillow\winbuild\
|
||||
- c:\pillow\winbuild\build\build_pillow.cmd bdist_wheel
|
||||
- c:\pillow\winbuild\build\build_pillow.cmd --global-option="bdist_wheel"
|
||||
- cd c:\pillow
|
||||
- ps: Get-ChildItem .\dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||
|
||||
|
|
6
.github/workflows/test-windows.yml
vendored
6
.github/workflows/test-windows.yml
vendored
|
@ -166,8 +166,8 @@ jobs:
|
|||
- name: Build Pillow
|
||||
run: |
|
||||
$FLAGS=""
|
||||
if ('${{ github.event_name }}' -ne 'pull_request') { $FLAGS="--disable-imagequant" }
|
||||
& winbuild\build\build_pillow.cmd $FLAGS install
|
||||
if ('${{ github.event_name }}' -ne 'pull_request') { $FLAGS='--global-option="--disable-imagequant"' }
|
||||
& winbuild\build\build_pillow.cmd $FLAGS --global-option="install"
|
||||
& $env:pythonLocation\python.exe selftest.py --installed
|
||||
shell: pwsh
|
||||
|
||||
|
@ -231,7 +231,7 @@ jobs:
|
|||
)
|
||||
)
|
||||
for /f "tokens=3 delims=/" %%a in ("${{ github.ref }}") do echo dist=dist-%%a >> %GITHUB_OUTPUT%
|
||||
winbuild\\build\\build_pillow.cmd --disable-imagequant bdist_wheel
|
||||
winbuild\\build\\build_pillow.cmd --global-option="--disable-imagequant" --global-option="bdist_wheel"
|
||||
shell: cmd
|
||||
|
||||
- name: Upload wheel
|
||||
|
|
|
@ -572,7 +572,7 @@ def build_pillow():
|
|||
r'"{python_dir}\{python_exe}" -m pip install . '
|
||||
r'--global-option="--vendor-raqm" '
|
||||
r'--global-option="--vendor-fribidi" '
|
||||
r'--global-option="%*"',
|
||||
r"%*",
|
||||
]
|
||||
|
||||
write_script("build_pillow.cmd", lines)
|
||||
|
|
Loading…
Reference in New Issue
Block a user