Pillow/winbuild
2017-03-25 23:13:00 +11:00
..
.gitignore apparently successful builds for everything ex. lcms2 2014-03-31 19:50:52 -07:00
build_dep.py Removed unused private functions 2017-02-18 16:29:26 +11:00
build.py Fix invalid string escapes 2017-01-12 21:28:24 +02:00
build.rst Drop support for Python 3.2 2016-11-22 04:24:40 -08:00
config.py Updated libtiff to 4.0.7 2017-03-25 23:13:00 +11:00
fetch.py Extract libs from pillow-depends 2016-08-29 14:53:48 +03:00
fixproj.py fix imports 2015-06-16 13:29:41 -07:00
get_pythons.py Drop support for Python 3.2 2016-11-22 04:24:40 -08:00
nmake.opt Updated jpeg to 9b 2016-01-21 19:50:36 +11:00
README.md Skip libimagequant's test if it's unavailable 2016-05-06 21:40:18 +02:00
test.py flake8 2015-06-26 10:39:13 +03:00
untar.py Flake8 fixes 2015-06-20 14:46:04 +10:00
unzip.py Flake8 fixes 2015-06-20 14:46:04 +10:00

Quick README

For more extensive info, see the windows build instructions docs/build.rst.

  • See https://github.com/python-pillow/Pillow/issues/553#issuecomment-37877416 and https://github.com/matplotlib/matplotlib/issues/1717#issuecomment-13343859

  • Works best with Python 3.4, due to virtualenv and pip batteries included. Python3+ required for fetch command.

  • Check config.py for virtual env paths, suffix for 64-bit releases. Defaults to x64, set X64_EXT to change.

  • When running in CI with one Python per invocation, set the PYTHON env variable to the Python folder. (e.g. PYTHON=c:\Python27\) This overrides the matrix in config.py and will just build and test for the specific Python.

  • python get_pythons.py downloads all the Python releases, and their signatures. (Manually) Install in c:\PythonXX[x64]\.

  • python build_dep.py downloads and creates a build script for all the dependencies, in 32 and 64 bit versions, and with both compiler versions.

  • (in powershell) build_deps.cmd invokes the dependency build.

  • python build.py --clean makes Pillow for the matrix of Pythons.

  • python test.py runs the tests on Pillow in all the virtual envs.

  • Currently working with zlib, libjpeg, freetype, and libtiff on Python 2.7, 3.3, and 3.4, both 32 and 64 bit, on a local win7 pro machine and appveyor.com

  • Webp is built, not detected.

  • LCMS, OpenJpeg and libimagequant are not building.