8000 enlarge on windows build instructions slightly · matplotlib/matplotlib@d604d81 · GitHub
[go: up one dir, main page]

Skip to content

Commit d604d81

Browse files
committed
enlarge on windows build instructions slightly
1 parent d68aa4e commit d604d81

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

INSTALL

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,11 @@ Build requirements
163163

164164
These are external packages which you will need to install before
165165
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.
170171

171172
Required Dependencies
172173
^^^^^^^^^^^^^^^^^^^^^
@@ -197,9 +198,7 @@ six 1.3 or later
197198
libpng 1.2 (or later)
198199
library for loading and saving :term:`PNG` files (`download
199200
<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.
203202

204203
Optional GUI framework
205204
^^^^^^^^^^^^^^^^^^^^^^
@@ -235,7 +234,7 @@ ImageMagick
235234
Optional dependencies
236235
^^^^^^^^^^^^^^^^^^^^^
237236

238-
`Pillow http://python-imaging.github.io/`__
237+
`Pillow <http://python-imaging.github.io/>`_
239238
If Pillow is installed, matplotlib can read and write a larger
240239
selection of image file formats.
241240

@@ -295,12 +294,18 @@ the different OSX version (e.g., 10.4 and 10.5). We recommend that you build
295294
the way we do for the OSX release: get the source from the tarball or the
296295
git repository and follow the instruction in :file:`README.osx`.
297296

298-
.. _build_osx:
297+
.. _build_windows:
299298

300299
Building on Windows
301300
-------------------
302301

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>`.

doc/faq/installing_faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ line script to the appropriate places.
145145
.. note::
146146
Mac OSX users please see the :ref:`build_osx` guide.
147147

148+
Windows users please see the :ref:`build_windows` guide.
149+
148150
Then, if you want to update your matplotlib at any time, just do::
149151

150152
> git pull

0 commit comments

Comments
 (0)
0