mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 10:56:18 +03:00
Update
This commit is contained in:
parent
0a7a16a82e
commit
888c6cb324
33
README.rst
33
README.rst
|
@ -1,28 +1,35 @@
|
||||||
Pillow OS X Wheel Builder
|
Pillow OS X Wheel Builder
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
This repository builds the most recent tagged version of the Pillow repository::
|
This repository creates wheels for tagged versions of Pillow::
|
||||||
|
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
git add Pillow
|
git add Pillow
|
||||||
git commit -a -m "Build wheels"
|
|
||||||
|
|
||||||
To build a specific version, unset ``LATEST_TAG`` in the ``.travis.yml`` file and update the Pillow submodule::
|
|
||||||
|
|
||||||
cd Pillow
|
cd Pillow
|
||||||
git pull && git checkout DESIRED_TAG
|
git checkout <TAG>
|
||||||
cd ..
|
cd ..
|
||||||
git add Pillow
|
git commit -a -m "<TAG> wheels"
|
||||||
git commit
|
git push
|
||||||
|
|
||||||
Notes
|
|
||||||
|
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>`_
|
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 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.
|
Wheels
|
||||||
|
------
|
||||||
|
|
||||||
- Download wheels with ``wget -m -A 'Pillow-<VERSION>*' http://cdf58691c5cf45771290-6a3b6a0f5f6ab91aadc447b2a897dd9a.r50.cf2.rackcdn.com/``
|
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.
|
||||||
|
|
||||||
- Upload to PyPI with ``twine upload Pillow-<VERSION>*``
|
PyPI
|
||||||
|
~~~~
|
||||||
|
|
||||||
|
Download wheels with::
|
||||||
|
|
||||||
|
wget -m -A 'Pillow-<VERSION>*' http://cdf58691c5cf45771290-6a3b6a0f5f6ab91aadc447b2a897dd9a.r50.cf2.rackcdn.com/
|
||||||
|
|
||||||
|
Upload to PyPI with::
|
||||||
|
|
||||||
|
twine upload Pillow-<VERSION>*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user