Pillow/README.rst

61 lines
2.1 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
2015-06-08 03:55:50 +03:00
git submodule init
2018-08-29 13:38:25 +03:00
git submodule update Pillow
2015-06-08 03:55:50 +03:00
git add Pillow
2014-10-08 15:02:20 +04:00
cd Pillow
2015-07-02 02:28:41 +03:00
git checkout <VERSION>
2014-10-08 15:02:20 +04:00
cd ..
git commit -m "Pillow -> <VERSION>" Pillow
2015-07-02 02:26:49 +03:00
git push
2017-10-04 14:19:07 +03:00
.. image:: https://img.shields.io/travis/python-pillow/pillow-wheels/latest.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
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
2015-07-02 12:12:11 +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 <http://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312>`_
2015-07-02 02:26:49 +03:00
Wheels
------
2017-10-02 18:24:15 +03:00
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.
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>*