Pillow/README.rst

36 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2015-06-08 03:57:08 +03:00
Pillow OS X 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
git submodule update
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 ..
2015-07-02 02:28:41 +03:00
git commit -a -m "<VERSION> wheels"
2015-07-02 02:26:49 +03:00
git push
2014-06-30 14:58:20 +04:00
2015-07-02 02:26:49 +03:00
Numpy
2015-06-08 03:55:50 +03:00
-----
2015-07-02 02:26:49 +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>`_
Wheels
------
Wheels are uploaded to a `rackspace container <http://cdf58691c5cf45771290-6a3b6a0f5f6ab91aadc447b2a897dd9a.r50.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
~~~~
2015-07-02 02:28:11 +03:00
Download wheels from Rackspace::
2014-10-08 15:02:20 +04:00
2015-07-02 02:26:49 +03:00
wget -m -A 'Pillow-<VERSION>*' http://cdf58691c5cf45771290-6a3b6a0f5f6ab91aadc447b2a897dd9a.r50.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
2015-07-02 02:26:49 +03:00
twine upload Pillow-<VERSION>*