mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-08 06:14:45 +03:00
specify config settings after package
This commit is contained in:
parent
ded2c8b1d1
commit
3d00b9c512
|
@ -38,7 +38,7 @@ install:
|
|||
build_script:
|
||||
- cd c:\pillow
|
||||
- winbuild\build\build_env.cmd
|
||||
- '%PYTHON%\%EXECUTABLE% -m pip install -v -C raqm=vendor -C fribidi=vendor .'
|
||||
- '%PYTHON%\%EXECUTABLE% -m pip install -v . -C raqm=vendor -C fribidi=vendor'
|
||||
- '%PYTHON%\%EXECUTABLE% selftest.py --installed'
|
||||
|
||||
test_script:
|
||||
|
@ -67,7 +67,7 @@ artifacts:
|
|||
|
||||
before_deploy:
|
||||
- cd c:\pillow
|
||||
- '%PYTHON%\%EXECUTABLE% -m pip wheel -v -C raqm=vendor -C fribidi=vendor .'
|
||||
- '%PYTHON%\%EXECUTABLE% -m pip wheel -v . -C raqm=vendor -C fribidi=vendor'
|
||||
- ps: Get-ChildItem .\*.whl | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||
|
||||
deploy:
|
||||
|
|
2
.github/workflows/test-windows.yml
vendored
2
.github/workflows/test-windows.yml
vendored
|
@ -167,7 +167,7 @@ jobs:
|
|||
- name: Build Pillow
|
||||
run: |
|
||||
$FLAGS="-C raqm=vendor -C fribidi=vendor"
|
||||
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS ."
|
||||
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v . $FLAGS"
|
||||
& $env:pythonLocation\python.exe selftest.py --installed
|
||||
shell: pwsh
|
||||
|
||||
|
|
|
@ -21,9 +21,9 @@ cd /D C:\Pillow\winbuild
|
|||
%PYTHON%\python.exe build_prepare.py -v --depends=C:\pillow-depends
|
||||
build\build_dep_all.cmd
|
||||
cd ..
|
||||
%PYTHON%\python.exe -m pip install -v -C raqm=vendor -C fribidi=vendor .
|
||||
%PYTHON%\python.exe -m pip install -v . -C raqm=vendor -C fribidi=vendor
|
||||
path C:\Pillow\winbuild\build\bin;%PATH%
|
||||
%PYTHON%\python.exe selftest.py
|
||||
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
|
||||
%PYTHON%\python.exe -m pip wheel -v -C raqm=vendor -C fribidi=vendor .
|
||||
%PYTHON%\python.exe -m pip wheel -v . -C raqm=vendor -C fribidi=vendor
|
||||
```
|
||||
|
|
|
@ -85,12 +85,12 @@ Once the dependencies are built, make sure the required environment variables
|
|||
are set by running ``winbuild\build\build_env.cmd`` and install Pillow with pip::
|
||||
|
||||
winbuild\build\build_env.cmd
|
||||
python.exe -m pip install -v -C raqm=vendor -C fribidi=vendor .
|
||||
python.exe -m pip install -v . -C raqm=vendor -C fribidi=vendor
|
||||
|
||||
To build a wheel instead, run::
|
||||
|
||||
winbuild\build\build_env.cmd
|
||||
python.exe -m pip wheel -v -C raqm=vendor -C fribidi=vendor .
|
||||
python.exe -m pip wheel -v . -C raqm=vendor -C fribidi=vendor
|
||||
|
||||
Testing Pillow
|
||||
--------------
|
||||
|
@ -113,8 +113,8 @@ The following is a simplified version of the script used on AppVeyor::
|
|||
build\build_dep_all.cmd
|
||||
build\build_env.cmd
|
||||
cd ..
|
||||
%PYTHON%\python.exe -m pip install -v -C raqm=vendor -C fribidi=vendor .
|
||||
%PYTHON%\python.exe -m pip install -v . -C raqm=vendor -C fribidi=vendor
|
||||
path C:\Pillow\winbuild\build\bin;%PATH%
|
||||
%PYTHON%\python.exe selftest.py
|
||||
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
|
||||
%PYTHON%\python.exe -m pip wheel -v -C raqm=vendor -C fribidi=vendor .
|
||||
%PYTHON%\python.exe -m pip wheel -v . -C raqm=vendor -C fribidi=vendor
|
||||
|
|
Loading…
Reference in New Issue
Block a user