mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Replace direct invocation of setup.py
This commit is contained in:
parent
18960e8416
commit
9ea7721a71
|
@ -569,7 +569,10 @@ def build_pillow():
|
|||
*prefs["header"],
|
||||
cmd_set("DISTUTILS_USE_SDK", "1"), # use same compiler to build Pillow
|
||||
cmd_set("py_vcruntime_redist", "true"), # always use /MD, never /MT
|
||||
r'"{python_dir}\{python_exe}" setup.py build_ext --vendor-raqm --vendor-fribidi %*', # noqa: E501
|
||||
r'"{python_dir}\{python_exe}" -m pip install . '
|
||||
r'--global-option="--vendor-raqm" '
|
||||
r'--global-option="--vendor-fribidi" '
|
||||
r'--global-option="%*"',
|
||||
]
|
||||
|
||||
write_script("build_pillow.cmd", lines)
|
||||
|
|
Loading…
Reference in New Issue
Block a user