Pillow/winbuild
2020-01-12 22:43:39 +11:00
..
appveyor_build_msys2.sh test mingw 2017-09-19 21:19:18 +00:00
appveyor_install_msys2_deps.sh Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
appveyor_install_pypy3.cmd Updated PyPy3 to 7.3.0 2019-12-25 08:00:08 +11:00
build_dep.py Implicitly concatenate strings 2019-12-26 17:07:54 +02:00
build.py Merge branch 'master' into rm-2.7 2019-10-12 18:03:58 +11:00
build.rst RST uses double backticks for code (MD uses 1) 2019-09-13 08:56:33 +03:00
config.py Updated libjpeg to 9d 2020-01-12 22:43:39 +11:00
fetch.py Use pillow-depends on HTTPError 2019-10-30 22:15:30 +11:00
fribidi.cmake fix distutils not finding vcredist, use /MD 2019-10-01 22:23:42 +02:00
get_pythons.py Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
lcms2_patch.ps1 add lcms2 bulid script upgrade patch to gha 2019-11-07 21:52:09 +00:00
raqm.cmake fix distutils not finding vcredist, use /MD 2019-10-01 22:23:42 +02:00
README.md Changed build instructions path to link [ci skip] 2018-02-09 20:55:24 +11:00
test.py Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
tiff.opt fix distutils not finding vcredist, use /MD 2019-10-01 22:23:42 +02:00
untar.py Format with Black 2019-06-13 18:54:57 +03:00
unzip.py Format with Black 2019-06-13 18:54:57 +03: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.