Pillow/README.rst

59 lines
2.0 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
------
2019-01-06 18:20:03 +03:00
Wheels are uploaded to a
`Rackspace container <https://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com/>`_.
Credentials for this container 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
~~~~
2016-06-17 13:44:35 +03:00
Download wheels from Rackspace::
2014-10-08 15:02:20 +04:00
2015-07-02 12:07:50 +03:00
wget -m -A 'Pillow-<VERSION>*' \
2017-10-02 18:24:15 +03:00
http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com
2015-06-08 04:21:06 +03:00
2015-07-02 02:28:11 +03:00
Upload wheels to PyPI::
2015-06-08 04:21:06 +03:00
2017-10-02 18:24:45 +03:00
cd a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com
twine upload Pillow-<VERSION>*