Replaced archives directory with pillow-depends

This commit is contained in:
Andrew Murray 2018-07-03 19:41:06 +10:00
parent 4affc7fe0d
commit 38f5b4c932
11 changed files with 23 additions and 19 deletions

View File

@ -16,6 +16,24 @@ This repository creates wheels for tagged versions of Pillow::
:target: https://travis-ci.org/python-pillow/pillow-wheels :target: https://travis-ci.org/python-pillow/pillow-wheels
:alt: Travis CI build status (wheels) :alt: Travis CI build status (wheels)
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.
Dependencies Dependencies
------------ ------------
@ -40,4 +58,4 @@ Download wheels from Rackspace::
Upload wheels to PyPI:: Upload wheels to PyPI::
cd a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com cd a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com
twine upload Pillow-<VERSION>* twine upload Pillow-<VERSION>*

View File

@ -1,18 +0,0 @@
##################################
Archives for pillow library builds
##################################
This directory contains archives for libraries that will be built as part of
the Pillow build.
In general, there is no need to put library archives here, because the
``multibuild`` scripts will download them from their respective URLs.
But, ``multibuild`` will look in this directory 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 to this directory and add it to the git
repository.
See 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,8 @@
# Define custom utilities # Define custom utilities
# Test for OSX with [ -n "$IS_OSX" ] # Test for OSX with [ -n "$IS_OSX" ]
ARCHIVE_SDIR=pillow-depends-master
# Package versions for fresh source builds # Package versions for fresh source builds
FREETYPE_VERSION=2.9.1 FREETYPE_VERSION=2.9.1
LIBPNG_VERSION=1.6.32 LIBPNG_VERSION=1.6.32
@ -14,6 +16,8 @@ LIBWEBP_VERSION=1.0.0
function pre_build { function pre_build {
# Any stuff that you need to do before you start building the wheels # Any stuff that you need to do before you start building the wheels
# Runs in the root directory of this repository. # Runs in the root directory of this repository.
curl -fsSL -o pillow-depends-master.zip https://github.com/python-pillow/pillow-depends/archive/master.zip
untar pillow-depends-master.zip
if [ -n "$IS_OSX" ]; then if [ -n "$IS_OSX" ]; then
# Update to latest zlib for OSX build # Update to latest zlib for OSX build
build_new_zlib build_new_zlib