mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-01 02:20:33 +03:00
Document how to create universal2 wheels
This commit is contained in:
parent
698951e19e
commit
9eacaee399
|
@ -68,6 +68,18 @@ Install Pillow with :command:`pip`::
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
python3 -m pip install --upgrade Pillow
|
python3 -m pip install --upgrade Pillow
|
||||||
|
|
||||||
|
While we provide binaries for both x86-64 and arm64, we do not provide universal2
|
||||||
|
binaries. However, it is simple to combine our current binaries to create one::
|
||||||
|
|
||||||
|
python3 -m pip download --only-binary=:all: --platform macosx_10_10_x86_64 Pillow
|
||||||
|
python3 -m pip download --only-binary=:all: --platform macosx_11_0_arm64 Pillow
|
||||||
|
python3 -m pip install delocate
|
||||||
|
|
||||||
|
Then, with the names of the downloaded wheels, use Python to combine them::
|
||||||
|
|
||||||
|
from delocate.fuse import fuse_wheels
|
||||||
|
fuse_wheels('Pillow-9.4.0-2-cp39-cp39-macosx_10_10_x86_64.whl', 'Pillow-9.4.0-cp39-cp39-macosx_11_0_arm64.whl', 'Pillow-9.4.0-cp39-cp39-macosx_11_0_universal2.whl')
|
||||||
|
|
||||||
.. tab:: Windows
|
.. tab:: Windows
|
||||||
|
|
||||||
We provide Pillow binaries for Windows compiled for the matrix of
|
We provide Pillow binaries for Windows compiled for the matrix of
|
||||||
|
|
Loading…
Reference in New Issue
Block a user