From 917cf31c592080a858d5e3fd8ab93c2250c64605 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 6 Jan 2019 17:19:03 +0200 Subject: [PATCH 1/2] Add script to update Pillow --- README.rst | 9 +-------- update-pillow-tag.sh | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 8 deletions(-) create mode 100755 update-pillow-tag.sh diff --git a/README.rst b/README.rst index f9194127a..047135bfb 100644 --- a/README.rst +++ b/README.rst @@ -3,14 +3,7 @@ Pillow Wheel Builder This repository creates wheels for tagged versions of Pillow:: - git submodule init - git submodule update Pillow - git add Pillow - cd Pillow - git checkout - cd .. - git commit -m "Pillow -> " Pillow - git push + ./update-pillow-tag.sh .. image:: https://img.shields.io/travis/python-pillow/pillow-wheels/master.svg :target: https://travis-ci.org/python-pillow/pillow-wheels diff --git a/update-pillow-tag.sh b/update-pillow-tag.sh new file mode 100755 index 000000000..a48d6cab0 --- /dev/null +++ b/update-pillow-tag.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +set -e # exit on error + +if [ $# -eq 0 ]; then + echo "Usage: update-pillow-tag.sh [[release tag]]" + exit +fi + +git checkout master +git submodule init +git submodule update Pillow +cd Pillow +git fetch --all +git checkout $1 +cd .. +git commit -m "Pillow -> $1" Pillow +git push From 74b5a25e1109f897be6f65d253fa9f08ca25e412 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 6 Jan 2019 17:20:03 +0200 Subject: [PATCH 2/2] Fix typos --- README.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 047135bfb..bfc5f46ad 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ In general, there is no need to put library archives there, because the 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. +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 @@ -33,12 +33,17 @@ 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 `_ +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 `_ Wheels ------ -Wheels are uploaded to a `rackspace container `_. 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 are uploaded to a +`Rackspace container `_. +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 ~~~~