Python Imaging Library (Fork)
Go to file
2018-03-29 08:53:45 +11:00
archives Merge branch 'master' into webp 2017-11-30 08:12:47 +02:00
multibuild@cba6a4228b Updated multibuild 2018-03-11 23:42:04 +11:00
Pillow@e5bd7eb623 5.0.0 version bump 2018-01-01 15:04:54 +00:00
.gitignore RF: refactor library_installers, add zlib 2014-07-04 12:55:11 +01:00
.gitmodules RF: switch to using multibuild for OSX 2016-08-02 16:31:04 -07:00
.travis.yml Updated travis osx_image to 9.2 2018-03-29 08:53:45 +11:00
config.sh Run tests with pytest 2017-12-27 14:43:53 +00:00
README.rst Update badge label 2017-10-04 14:19:07 +03:00

Pillow Wheel Builder
====================

This repository creates wheels for tagged versions of Pillow::

    git submodule init
    git submodule update
    git add Pillow
    cd Pillow
    git checkout <VERSION>
    cd ..
    git commit -a -m "<VERSION> wheels"
    git push

.. image:: https://img.shields.io/travis/python-pillow/pillow-wheels/latest.svg
   :target: https://travis-ci.org/python-pillow/pillow-wheels
   :alt: Travis CI build status (wheels)

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 <http://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312>`_

Wheels
------

Wheels are uploaded to a `rackspace container <http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.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.

PyPI
~~~~

Download wheels from Rackspace::

    wget -m -A 'Pillow-<VERSION>*' \
    http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com

Upload wheels to PyPI::

    cd a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com
    twine upload Pillow-<VERSION>*