mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-30 20:06:17 +03:00
Merge pull request #89 from radarhere/depends
Replace archives directory with pillow-depends
This commit is contained in:
commit
3620b938aa
18
README.rst
18
README.rst
|
@ -16,6 +16,24 @@ This repository creates wheels for tagged versions of Pillow::
|
|||
:target: https://travis-ci.org/python-pillow/pillow-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
|
||||
------------
|
||||
|
||||
|
|
|
@ -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.
|
@ -1,6 +1,8 @@
|
|||
# Define custom utilities
|
||||
# Test for OSX with [ -n "$IS_OSX" ]
|
||||
|
||||
ARCHIVE_SDIR=pillow-depends-master
|
||||
|
||||
# Package versions for fresh source builds
|
||||
FREETYPE_VERSION=2.9.1
|
||||
LIBPNG_VERSION=1.6.32
|
||||
|
@ -14,6 +16,8 @@ LIBWEBP_VERSION=1.0.0
|
|||
function pre_build {
|
||||
# Any stuff that you need to do before you start building the wheels
|
||||
# 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
|
||||
# Update to latest zlib for OSX build
|
||||
build_new_zlib
|
||||
|
|
Loading…
Reference in New Issue
Block a user