Python Imaging Library (Fork)
Go to file
2022-01-25 09:54:24 +11:00
.github Updated names for mergify 2022-01-04 09:29:34 +11:00
dependency_licenses add HarfBuzz license 2021-03-25 02:13:17 +01:00
multibuild@b89bb903e9 Updated to Python 3.10 in multibuild 2021-10-12 17:20:40 +11:00
Pillow@82541b6dec Pillow -> 9.0.0 2022-01-02 21:00:06 +11:00
.editorconfig Added .editorconfig file 2021-05-16 11:58:25 +10:00
.gitignore RF: refactor library_installers, add zlib 2014-07-04 12:55:11 +01:00
.gitmodules Update GitHub git:// to https:// 2021-11-06 11:23:59 +11:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2022-01-03 17:11:25 +00:00
.travis.yml Use Python 3.10 2022-01-23 23:33:43 +02:00
config.sh Updated giflib to 5.2.1 on Linux 2022-01-25 09:54:24 +11:00
README.rst Updated link [ci skip] 2022-01-18 14:29:56 +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/Wheels/badge.svg
   :target: https://github.com/python-pillow/pillow-wheels/actions
   :alt: GitHub Actions build status

.. 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.

Dependencies
------------

NumPy
~~~~~

Check minimum NumPy versions to build against in ``.travis.yml`` file. Build against the
earliest NumPy that Pillow is compatible with; see
`forward, backward NumPy compatibility <https://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312>`_

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.

PyPI
~~~~

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

    twine upload Pillow-<VERSION>-*