mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Simplify Linux config by correcting a logic error in macOS config.
This commit is contained in:
parent
c74a5bdd85
commit
72d81e24a8
7
.github/workflows/wheels-dependencies.sh
vendored
7
.github/workflows/wheels-dependencies.sh
vendored
|
@ -4,8 +4,8 @@
|
|||
if [ -z "$IS_MACOS" ]; then
|
||||
export MB_ML_LIBC=${AUDITWHEEL_POLICY::9}
|
||||
export MB_ML_VER=${AUDITWHEEL_POLICY:9}
|
||||
|
||||
# Build and install into the `build/deps` folder.
|
||||
else
|
||||
# Build and install macOS builds into the `build/deps` folder.
|
||||
BUILD_PREFIX=$(pwd)/build/deps
|
||||
fi
|
||||
export PLAT=$CIBW_ARCHS
|
||||
|
@ -166,9 +166,6 @@ if [[ -n "$IS_MACOS" ]]; then
|
|||
build_pkg_config
|
||||
# Ensure cmake is available
|
||||
python3 -m pip install cmake
|
||||
else
|
||||
# Ensure that any built libraries are on the linker path.
|
||||
export LD_LIBRARY_PATH=$BUILD_PREFIX/lib
|
||||
fi
|
||||
|
||||
wrap_wheel_builder build
|
||||
|
|
|
@ -104,10 +104,6 @@ test-extras = "tests"
|
|||
[tool.cibuildwheel.macos.environment]
|
||||
PATH = "$(pwd)/build/deps/bin:$(dirname $(which python3)):/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin"
|
||||
|
||||
[tool.cibuildwheel.linux.environment]
|
||||
LD_LIBRARY_PATH = "$(pwd)/build/deps/lib"
|
||||
PKG_CONFIG_PATH = "$(pwd)/build/deps/lib/pkgconfig:$(pwd)/build/deps/share/pkgconfig"
|
||||
|
||||
[tool.black]
|
||||
exclude = "wheels/multibuild"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user