Python Imaging Library (Fork)
Go to file
Hugo van Kemenade f3a245518f
Merge pull request #409 from radarhere/numpy
NumPy now supports Python 3.12
2023-09-18 09:33:51 -06:00
.github Update actions/checkout action to v4 2023-09-04 14:41:55 +00:00
dependency_licenses Updated licenses [ci skip] 2023-06-08 08:36:40 +10:00
multibuild@509e63a6d8 Use simpler build_multilinux command 2023-08-16 14:53:47 +10:00
Pillow@e34d346f10 Pillow -> 10.0.1 2023-09-15 22:53:16 +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 Use simpler build_multilinux command 2023-08-16 14:53:47 +10:00
config.sh Fixed openblas detection on macOS for PyPy 3.10 2023-09-18 22:42:05 +10: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>-*