Python Imaging Library (Fork)
Go to file
mergify[bot] f708a2451f
Merge pull request #370 from radarhere/test-images
Use test-images repository
2023-02-11 09:56:28 +00:00
.github Instead of removing libpng directly, use brew 2023-01-26 16:37:40 +11:00
dependency_licenses Merge pull request #323 from radarhere/fix-license 2022-09-12 14:30:00 +10:00
multibuild@b72f714bd3 Added musllinux aarch64 2022-12-12 11:52:31 +11:00
Pillow@a5bbab1c1e Pillow -> 9.4.0 2023-01-02 11:21:01 +11:00
.editorconfig Remove redundant property already defined in another section 2022-08-06 12:32:33 +10:00
.gitignore Ignore PyCharm metadata 2022-02-22 09:14:17 +02:00
.gitmodules Switched back to main multibuild repository 2022-04-02 22:26:39 +11:00
.pre-commit-config.yaml Update unfrozen 2023-01-02 23:37:25 +02:00
.travis.yml Added musllinux aarch64 2022-12-12 11:52:31 +11:00
config.sh Use test-images repository 2023-02-11 18:22:28 +11:00
README.rst Link to Windows wheels [ci skip] 2023-01-03 21:32:12 +11:00
update-pillow-tag.sh Rename master to main 2021-10-15 16:02:27 +03:00

Pillow Wheel Builder
====================

This repository creates wheels for tagged versions of Pillow::

    ./update-pillow-tag.sh <VERSION>

.. image:: https://github.com/python-pillow/pillow-wheels/workflows/Lint/badge.svg
   :target: https://github.com/python-pillow/pillow-wheels/actions/workflows/lint.yml
   :alt: GitHub Actions build status (Lint)

.. image:: https://github.com/python-pillow/pillow-wheels/workflows/Wheels/badge.svg
   :target: https://github.com/python-pillow/pillow-wheels/actions/workflows/wheels.yml
   :alt: GitHub Actions build status (Wheels)

.. image:: https://img.shields.io/travis/com/python-pillow/pillow-wheels/main.svg
   :target: https://app.travis-ci.com/github/python-pillow/pillow-wheels
   :alt: Travis CI build status

Archives
--------

https://github.com/python-pillow/pillow-depends contains archives for libraries
that will be built as part of the Pillow build.

In general, there is no need to put library archives there, because the
``multibuild`` scripts will download them from their respective URLs.

But, the build will look in that repository before downloading from the
URL, so if there is a library that often fails to download, or you think might
fail to download, then download it and add it to the Git repository.

See the ``pre_build`` in ``config.sh`` and the ``fetch_unpack`` routine in
``multibuild/common_utils.sh`` for the logic, and the build recipes in
``multibuild/library_builders.sh`` for the filename to give to the downloaded
archive.

Wheels
------

Wheels are uploaded to https://github.com/python-pillow/pillow-wheels/releases.
Credentials for this specific repo are stored in a Travis CI secret, so the upload
won't work from another repository.

Windows wheels are not created here. Instead, they are
`GitHub Actions artifacts created on each run of the Pillow repository <https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml?query=branch%3Amain>`_.

PyPI
~~~~

Download wheels from the
`latest release <https://github.com/python-pillow/pillow-wheels/releases>`_ and upload
to PyPI::

    python3 -m twine upload Pillow-<VERSION>-*