@@ -163,10 +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.
169
-
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.
170
171
171
172
Required Dependencies
172
173
^^^^^^^^^^^^^^^^^^^^^
@@ -197,9 +198,7 @@ six 1.3 or later
197
198
libpng 1.2 (or later)
198
199
library for loading and saving :term:`PNG` files (`download
199
200
<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
-
201
+ zlib.
203
202
204
203
Optional GUI framework
205
204
^^^^^^^^^^^^^^^^^^^^^^
@@ -235,7 +234,7 @@ ImageMagick
235
234
Optional dependencies
236
235
^^^^^^^^^^^^^^^^^^^^^
237
236
238
- `Pillow http://python-imaging.github.io/`__
237
+ `Pillow < http://python-imaging.github.io/>`_
239
238
If Pillow is installed, matplotlib can read and write a larger
240
239
selection of image file formats.
241
240
@@ -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