Pillow/winbuild
2018-11-17 12:32:08 +11:00
..
appveyor_build_msys2.sh test mingw 2017-09-19 21:19:18 +00:00
appveyor_install_msys2_deps.sh Create pacman package cache directory 2018-09-18 21:47:10 +10:00
appveyor_install_pypy.cmd Use a newer Python for the virtualenv for PyPy 2018-10-19 22:02:47 +03:00
build_dep.py Added Python 3.5-3.7 AppVeyor builds 2018-10-08 19:43:11 +11:00
build.py flake8: E501 line too long 2018-11-11 19:01:11 +02:00
build.rst Remove link to 404 for #3167 [ci skip] 2018-06-30 19:01:04 -04:00
config.py Updated Tk Tcl to 8.6.9 2018-11-17 12:32:08 +11:00
fetch.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
fixproj.py fix imports 2015-06-16 13:29:41 -07:00
get_pythons.py Updated winbuild python versions 2018-05-25 19:49:14 +10:00
nmake.opt Fix libtiff build on windows 2018-09-18 12:05:50 -07:00
README.md Changed build instructions path to link [ci skip] 2018-02-09 20:55:24 +11:00
test.py Set executable flag on scripts with shebang line 2017-03-31 19:43:19 +11:00
untar.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
unzip.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00

Quick README

For more extensive info, see the Windows build instructions.

  • 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, 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.