Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82d4ef2

Browse files
committed
Applied Michiel's sf patch 2823885 to remove the /usr/X11R6 dirs from darwin
svn path=/branches/v0_99_maint/; revision=7328
1 parent 2e80056 commit 82d4ef2

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

doc/_templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
{% block body %}
6-
<h1>Welcome</h1>
6+
<h1>mpl</h1>
77

88
<p>matplotlib is a python 2D plotting library which produces
99
publication quality figures in a variety of hardcopy formats and

doc/users/installing.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ Build requirements
114114
These are external packages which you will need to install before
115115
installing matplotlib. Windows users only need the first two (python
116116
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`
118119

119120
:term:`python` 2.4 (or later but not python3)
120121
matplotlib requires python 2.4 or later (`download <http://www.python.org/download/>`__)
@@ -183,3 +184,19 @@ dateutil 1.1 or later
183184

184185

185186

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+

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
'linux' : ['/usr/local', '/usr',],
5252
'cygwin' : ['/usr/local', '/usr',],
5353
'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
54-
'/usr', '/sw', '/usr/X11R6'],
54+
'/usr', '/sw'],
5555
'freebsd4' : ['/usr/local', '/usr'],
5656
'freebsd5' : ['/usr/local', '/usr'],
5757
'freebsd6' : ['/usr/local', '/usr'],

0 commit comments

Comments
 (0)