| .. | ||
| .gitignore | ||
| build_dep.py | ||
| build.py | ||
| config.py | ||
| fetch.py | ||
| fixproj.py | ||
| get_pythons.py | ||
| nmake.opt | ||
| README.md | ||
| test.py | ||
| untar.py | ||
| unzip.py | ||
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, setX64_EXTto change. -
When running in CI with one python per invocation, set the
PYTHONenv 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.pydownloads all the python releases, and their signatures. (Manually) Install inc:\PythonXX[x64]\. -
python build_dep.pydownloads and creates a build script for all the dependencies, in 32 and 64 bit versions, and with both compiler versions. -
(in powershell)
build_deps.cmdinvokes the dependency build. -
python build.py --cleanmakes pillow for the matrix of pythons. -
python test.pyruns 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 (3.3 untested there)
-
Webp is built, not detected.
-
LCMS and OpenJpeg are not building.