Move pip upgrade to .appveyor.yml

This commit is contained in:
Hugo van Kemenade 2023-05-28 21:14:39 +03:00
parent 58b8d6c4ef
commit 7f0c49a6c7
2 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,7 @@ environment:
install: install:
- '%PYTHON%\%EXECUTABLE% --version' - '%PYTHON%\%EXECUTABLE% --version'
- '%PYTHON%\%EXECUTABLE% -m pip install --upgrade pip'
- curl -fsSL -o pillow-depends.zip https://github.com/python-pillow/pillow-depends/archive/main.zip - curl -fsSL -o pillow-depends.zip https://github.com/python-pillow/pillow-depends/archive/main.zip
- curl -fsSL -o pillow-test-images.zip https://github.com/python-pillow/test-images/archive/main.zip - curl -fsSL -o pillow-test-images.zip https://github.com/python-pillow/test-images/archive/main.zip
- 7z x pillow-depends.zip -oc:\ - 7z x pillow-depends.zip -oc:\

View File

@ -569,7 +569,6 @@ def build_pillow():
*prefs["header"], *prefs["header"],
cmd_set("DISTUTILS_USE_SDK", "1"), # use same compiler to build Pillow cmd_set("DISTUTILS_USE_SDK", "1"), # use same compiler to build Pillow
cmd_set("py_vcruntime_redist", "true"), # always use /MD, never /MT cmd_set("py_vcruntime_redist", "true"), # always use /MD, never /MT
r'"{python_dir}\{python_exe}" -m pip install --upgrade pip',
r'"{python_dir}\{python_exe}" -m pip install . ' r'"{python_dir}\{python_exe}" -m pip install . '
r'--global-option="--vendor-raqm" ' r'--global-option="--vendor-raqm" '
r'--global-option="--vendor-fribidi" ' r'--global-option="--vendor-fribidi" '