Pillow/README.rst

54 lines
1.8 KiB
ReStructuredText
Raw Normal View History

Pillow Wheel Builder
====================
2014-06-30 14:58:20 +04:00
2015-07-02 02:26:49 +03:00
This repository creates wheels for tagged versions of Pillow::
2015-06-08 03:58:36 +03:00
2019-01-06 18:19:03 +03:00
./update-pillow-tag.sh <VERSION>
2015-07-02 02:26:49 +03:00
2018-12-21 09:02:24 +03:00
.. image:: https://img.shields.io/travis/python-pillow/pillow-wheels/master.svg
2015-08-02 07:22:06 +03:00
:target: https://travis-ci.org/python-pillow/pillow-wheels
2017-10-04 14:19:07 +03:00
:alt: Travis CI build status (wheels)
2014-06-30 14:58:20 +04:00
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
2019-01-06 18:20:03 +03:00
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.
2015-07-02 12:10:32 +03:00
Dependencies
------------
2015-07-02 12:12:11 +03:00
NumPy
2015-07-02 12:10:32 +03:00
~~~~~
2015-06-08 03:55:50 +03:00
2019-01-06 18:20:03 +03:00
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>`_
2015-07-02 02:26:49 +03:00
Wheels
------
Wheels are uploaded to https://github.com/python-pillow/pillow-wheels/releases.
Credentials are encrypted to this specific repo in the ``.travis.yml`` file,
so the upload won't work from another repository.
2015-07-02 02:26:49 +03:00
PyPI
~~~~
2020-08-14 15:20:01 +03:00
Download wheels from the
`latest release <https://github.com/python-pillow/pillow-wheels/releases>`_ and upload
to PyPI::
2014-10-08 15:02:20 +04:00
2020-02-15 05:09:32 +03:00
twine upload Pillow-<VERSION>-*