@@ -114,7 +114,8 @@ Build requirements
114
114
These are external packages which you will need to install before
115
115
installing matplotlib. Windows users only need the first two (python
116
116
and numpy) since the others are built into the matplotlib windows
117
- installers available for download at the sourceforge site.
117
+ installers available for download at the sourceforge site. If you are
118
+ building on OSX, see :ref: `build_osx `
118
119
119
120
:term: `python ` 2.4 (or later but not python3)
120
121
matplotlib requires python 2.4 or later (`download <http://www.python.org/download/ >`__)
@@ -183,3 +184,19 @@ dateutil 1.1 or later
183
184
184
185
185
186
187
+ .. _build_osx :
188
+
189
+ Building on OSX
190
+ ==================
191
+
192
+ The build situation on OSX is complicated by the various places one
193
+ can get the png and freetype requirements from (darwinports, fink,
194
+ /usr/X11R6) and the different architectures (x86, ppc, universal) and
195
+ the different OSX version (10.4 and 10.5). We recommend that you build
196
+ the way we do for the OSX release: by grabbing the tarbar or svn
197
+ repository, cd-ing into the release/osx dir, and following the
198
+ instruction in the README. This directory has a Makefile which will
199
+ automatically grab the zlib, png and freetype dependencies from the
200
+ web, build them with the right flags to make universal libraries, and
201
+ then build the matplotlib source and binary installers.
202
+
0 commit comments