Skip to content

Commit 54508af

Browse files
committed
some fixes for osx builds on rc2
svn path=/branches/v0_99_maint/; revision=7358
1 parent 48d7f3a commit 54508af

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

doc/_templates/indexsidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ <h3>News</h3>
33
<p>Please <a href="http://sourceforge.net/project/project_donations.php?group_id=80706">donate</a>
44
to support matplotlib development.</p>
55

6-
<p>A release candidate rc1 of matplotlib-0.99.0 is <a href="http://drop.io/xortel1#">available</a> for testing. Please post any bugs to the <a href="http://sourceforge.net/tracker2/?group_id=80706">tracker</a>
6+
<p>A release candidate rc2 of matplotlib-0.99.0 is <a href="http://drop.io/xortel1#">available</a> for testing. Please post any bugs to the <a href="http://sourceforge.net/tracker2/?group_id=80706">tracker</a>
77
</p>
88

99
<p>Watch a <a href="http://videolectures.net/mloss08_hunter_mat">video lecture</a> about matplotlib presented at <a href="http://videolectures.net/mloss08_whistler">NIPS 08 Workshop</a> <i>Machine Learning Open Source Software</i></a>.

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"""
9090
from __future__ import generators
9191

92-
__version__ = '0.99.0.rc1'
92+
__version__ = '0.99.0.rc2'
9393
__revision__ = '$Revision$'
9494
__date__ = '$Date$'
9595

release/osx/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
PYVERSION=2.6
1+
PYVERSION=2.5
22
PYTHON=python${PYVERSION}
33
SRCDIR=${PWD}
44
ZLIBVERSION=1.2.3
55
PNGVERSION=1.2.33
66
FREETYPEVERSION=2.3.7
7-
MPLVERSION=0.99.0.rc1
7+
MPLVERSION=0.99.0.rc2
88
BDISTMPKGVERSION=0.4.4
99
MPLSRC=matplotlib-${MPLVERSION}
1010
MACOSX_DEPLOYMENT_TARGET=10.4
@@ -88,7 +88,7 @@ installers:
8888
cp ../data/setup.cfg . &&\
8989
export CFLAGS=${CFLAGS} &&\
9090
export LDFLAGS=${LDFLAGS} &&\
91-
bdist_mpkg &&\
91+
/Library/Frameworks/Python.framework/Versions/${PYVERSION}/bin/bdist_mpkg &&\
9292
${PYTHON} setupegg.py bdist_egg &&\
9393
cd dist && \
9494
zip -ro matplotlib-${MPLVERSION}-py${PYVERSION}-macosx10.5_mpkg.zip matplotlib-${MPLVERSION}-py${PYVERSION}-macosx10.5.mpkg

release/osx/README.txt

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Dir Contents
77
-------------
88

99
* :file:`bdist_mkpg` - the distutils.extension to build Installer.app
10-
mpkg installers.
10+
mpkg installers.
1111

1212
* :file:`data` - some config files and patches needed for the build
1313

@@ -19,15 +19,21 @@ Dir Contents
1919
How to build
2020
--------------
2121

22-
* You need a python framework build , numpy and wxpython to build the
22+
* You need a python framework build, numpy and wxpython to build the
2323
mpl installers (wx requires this and we need wx to build the wxagg
24-
extension). You can get the three required dependencies as
25-
Installer apps, eg:
24+
extension). I recommend building python from src as a framework build::
2625

26+
./configure --enable-universalsdk --enable-framework
27+
sudo make install
2728

28-
http://www.python.org/ftp/python/2.6.2/python-2.6.2-macosx2009-04-16.dmg
29-
http://downloads.sourceforge.net/project/numpy/NumPy/1.3.0/numpy-1.3.0-py2.6-macosx10.5.dmg?use_mirror=voxel
30-
http://downloads.sourceforge.net/project/wxpython/wxPython/2.8.10.1/wxPython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg?use_mirror=voxel
29+
and build numpy from src too since the 2.5 numpy installer doesn't work
30+
with a python built from src::
31+
32+
sudo python setup.py install
33+
34+
you can use the pre-built installer for wx::
35+
36+
http://downloads.sourceforge.net/project/wxpython/wxPython/2.8.10.1/wxPython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg?use_mirror=voxel
3137

3238
* You need to make sure to unset PKG_CONFIG_PATH to make sure the
3339
static linking below is respected. Otherwise the mpl build script

0 commit comments

Comments
 (0)