@@ -163,9 +163,11 @@ Build requirements
163
163
164
164
These are external packages which you will need to install before
165
165
installing matplotlib. If you are building on OSX, see
166
- :ref:`build_osx`. If you are installing dependencies with a package
167
- manager on Linux, you may need to install the development packages
168
- (look for a "-dev" postfix) in addition to the libraries themselves.
166
+ :ref:`build_osx`. If you are building on Windows, see
167
+ :ref:`build_windows`. If you are installing dependencies with a
168
+ package manager on Linux, you may need to install the development
169
+ packages (look for a "-dev" postfix) in addition to the libraries
170
+ themselves.
169
171
170
172
171
173
Required Dependencies
@@ -197,9 +199,7 @@ six 1.3 or later
197
199
libpng 1.2 (or later)
198
200
library for loading and saving :term:`PNG` files (`download
199
201
<http://www.libpng.org/pub/png/libpng.html>`__). libpng requires
200
- zlib. If you are a Windows user, you can ignore this because we
201
- build support into the matplotlib single-click installer
202
-
202
+ zlib.
203
203
204
204
Optional GUI framework
205
205
^^^^^^^^^^^^^^^^^^^^^^
@@ -235,11 +235,10 @@ ImageMagick
235
235
Optional dependencies
236
236
^^^^^^^^^^^^^^^^^^^^^
237
237
238
- `Pillow http://python-imaging.github.io/`__
238
+ `Pillow < http://python-imaging.github.io/> `__
239
239
If Pillow is installed, matplotlib can read and write a larger
240
240
selection of image file formats.
241
241
242
-
243
242
:term:`freetype` 1.4 (or later)
244
243
library for reading true type font files.
245
244
@@ -295,12 +294,18 @@ the different OSX version (e.g., 10.4 and 10.5). We recommend that you build
295
294
the way we do for the OSX release: get the source from the tarball or the
296
295
git repository and follow the instruction in :file:`README.osx`.
297
296
298
- .. _build_osx :
297
+ .. _build_windows :
299
298
300
299
Building on Windows
301
300
-------------------
302
301
303
- Building for source on windows can be difficult. Please see
304
- `matplotlib-windbuild
305
- <https://github.com/jbmohler/matplotlib-winbuild>`_ for detailed
306
- instructions, dependency source blobs, and helper scripts.
302
+ The Python shipped from http://www.python.org is compiled with Visual Studio
303
+ 2008 for versions before 3.3 and Visual Studio 2010 for 3.3 and later. Python
304
+ extensions are recommended to be compiled with the same compiler. The .NET
305
+ Framework 4.0 is required for MSBuild (you'll likely have the requisite
306
+ Framework with Visual Studio). In addition to Visual Studio `CMake
307
+ <http://www.cmake.org>`_ is required for building libpng.
308
+
309
+ Since there is no canonical Windows package manager the build methods for
310
+ freetype, zlib, libpng, tcl, & tk source code are documented as a build script
311
+ at `matplotlib=winbuild <https://github.com/jbmohler/matplotlib-winbuild>`.
0 commit comments