specify config settings after package

This commit is contained in:
Nulano 2024-01-02 17:44:46 +01:00
parent ded2c8b1d1
commit 3d00b9c512
4 changed files with 9 additions and 9 deletions

View File

@ -38,7 +38,7 @@ install:
build_script: build_script:
- cd c:\pillow - cd c:\pillow
- winbuild\build\build_env.cmd - 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' - '%PYTHON%\%EXECUTABLE% selftest.py --installed'
test_script: test_script:
@ -67,7 +67,7 @@ artifacts:
before_deploy: before_deploy:
- cd c:\pillow - 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 } - ps: Get-ChildItem .\*.whl | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
deploy: deploy:

View File

@ -167,7 +167,7 @@ jobs:
- name: Build Pillow - name: Build Pillow
run: | run: |
$FLAGS="-C raqm=vendor -C fribidi=vendor" $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 & $env:pythonLocation\python.exe selftest.py --installed
shell: pwsh shell: pwsh

View File

@ -21,9 +21,9 @@ cd /D C:\Pillow\winbuild
%PYTHON%\python.exe build_prepare.py -v --depends=C:\pillow-depends %PYTHON%\python.exe build_prepare.py -v --depends=C:\pillow-depends
build\build_dep_all.cmd build\build_dep_all.cmd
cd .. 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% path C:\Pillow\winbuild\build\bin;%PATH%
%PYTHON%\python.exe selftest.py %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 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
``` ```

View File

@ -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:: are set by running ``winbuild\build\build_env.cmd`` and install Pillow with pip::
winbuild\build\build_env.cmd 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:: To build a wheel instead, run::
winbuild\build\build_env.cmd 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 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_dep_all.cmd
build\build_env.cmd build\build_env.cmd
cd .. 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% path C:\Pillow\winbuild\build\bin;%PATH%
%PYTHON%\python.exe selftest.py %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 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