Python Imaging Library (Fork)
Go to file
2023-07-01 23:05:00 +10:00
.github Removed 32-bit wheels 2023-06-23 23:12:29 +10:00
dependency_licenses Updated licenses [ci skip] 2023-06-08 08:36:40 +10:00
multibuild@4eb8556803 Updated Python 3.12 on macOS to beta 3 2023-06-21 13:52:02 +10:00
Pillow@6e28ed1f36 Pillow -> 10.0.0 2023-07-01 23:05:00 +10: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 Python 3.12 2023-05-31 17:41:41 +10:00
config.sh Merge pull request #391 from radarhere/libtiff 2023-06-29 13:56:07 +03: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>-*