mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 20:27:06 +03:00
Use --config-settings
This commit is contained in:
parent
b1f01c006b
commit
02ae9d12d5
|
@ -128,8 +128,7 @@ function pip_wheel_cmd {
|
||||||
CFLAGS="$CFLAGS --std=c99" # for Raqm
|
CFLAGS="$CFLAGS --std=c99" # for Raqm
|
||||||
fi
|
fi
|
||||||
pip wheel $(pip_opts) \
|
pip wheel $(pip_opts) \
|
||||||
--global-option build_ext --global-option --enable-raqm \
|
-C raqm=enable -C raqm=vendor -C fribidi=vendor \
|
||||||
--global-option --vendor-raqm --global-option --vendor-fribidi \
|
|
||||||
-w $abs_wheelhouse --no-deps .
|
-w $abs_wheelhouse --no-deps .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,11 +140,7 @@ function run_tests_in_repo {
|
||||||
|
|
||||||
EXP_CODECS="jpg jpg_2000 libtiff zlib"
|
EXP_CODECS="jpg jpg_2000 libtiff zlib"
|
||||||
EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
|
EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
|
||||||
if ([ -n "$IS_MACOS" ] && [[ "$MB_PYTHON_VERSION" == 3.12 ]]); then
|
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
|
||||||
EXP_FEATURES="libjpeg_turbo transp_webp webp_anim webp_mux xcb"
|
|
||||||
else
|
|
||||||
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
|
|
||||||
fi
|
|
||||||
|
|
||||||
function run_tests {
|
function run_tests {
|
||||||
if [ -n "$IS_MACOS" ]; then
|
if [ -n "$IS_MACOS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user