Changeset 1071 for trunk/web/osx.html


Ignore:
Timestamp:
07/05/06 11:30:26 (18 years ago)
Author:
mar637
Message:

minor updates and fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/osx.html

    r664 r1071  
    3434?>
    3535<!-- Start Content -->
    36 <h1>ASAP OS X (10.4)install</h1>
    37 This might or might not work with 10.3. Obviously, steps specific for
    38 10.4 have to be omitted.
     36<h1>ASAP OS X (10.4) install</h1>
     37This might or might not work with 10.3.
    3938<h2>Getting stuff</h2>
    4039<a href="http://pythonmac.org/packages">pythonmac.org</a> has
    41 pre-packaged python modules.
     40a pre-packaged python and some modules.
    4241<br>
    43 From the section <b>Mac OS X 10.4 (stock Python 2.3.5) </b>
    44 <br>get
     42From the section <b>Packages for Universal...</b>
     43<br>get and install
    4544<ul>
    4645  <li>
    4746<a
    48       href="http://pythonmac.org/packages/TigerPython23Compat.pkg.zip">TigerPython23Compat</a> </li>
     47      href="http://pythonmac.org/packages/py24-fat/dmg/Universal-MacPython-2.4.3-2006-04-07.dmg">Python</a> </li>
     48  <li>
     49<a
     50      href="http://pythonmac.org/packages/py24-fat/mpkg/matplotlib-0.87.2-py2.4-macosx10.4.mpkg.zip">matplotlib</a> </li>
    4951</ul>
    50 From the section <b>Mac OS X 10.3 (stock Python 2.3.0) </b>
    51 <br>get
     52You also need to get numpy:
    5253<ul>
    5354  <li>
    5455<a
    55       href="http://pythonmac.org/packages/Numeric-23.7-py2.3-macosx10.3.zip">Numeric</a> </li>
    56   <li>
    57 <a
    58       href="http://pythonmac.org/packages/numarray-1.1.1-py2.3-macosx10.3.zip">numarray</a> </li>
    59 <a
    60       href="http://pythonmac.org/packages/matplotlib-0.82-py2.3-macosx10.3.zip">matplotlib</a> </li>
     56      href="http://prdownloads.sourceforge.net/numpy/numpy-0.9.6-py2.4-macosx10.4.dmg?download">numpy</a> </li>
    6157</ul>
    6258<br>
    63 Next get <a href="http://ipython.scipy.org/dist">ipython</a> and run:<br>
     59Next get <a href="http://ipython.scipy.org/dist/ipython-0.7.2.tar.gz">ipython</a> and run:<br>
    6460<pre>
    65 tar zxvf ipython-0.6.15.tar.gz
    6661sudo python setup.py install
    67 sudo ln -s ../../System/Library/Frameworks/Python.framework/Versions/2.3/bin/ipython /usr/bin/ipython
    6862</pre>
    69 
    70 
     63from within the ipython-0.7.2 directory.
     64<br>
     65Then
     66<pre>
     67sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/ipython /usr/bin/ipython
     68</pre>
    7169<h2>Tweaking it</h2>
    7270Run the following in a terminal:<br>
    73 OSX comes with your own pimp pre-installed, so better use him!<br>
    74 <pre>
    75 sudo python `python -c "import pimp; print pimp.__file__"` -i readline
    76 </pre>
    77 
    78 Then as 'root' or 'sudo' edit<br>
    79 <b>/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc</b><br>
     71As 'root' or 'sudo' edit<br>
     72<b>/System/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlibrc</b><br>
    8073In this file replace<br>
    81 <b> backend    : GTKAgg</b><br>
     74<b> backend    : WXAgg</b><br>
    8275with<br>
    8376<b> backend    : TkAgg</b><br>
    84 <p>
    85 Now we have to patch matplotlib:
    86 Get <a href="./figure.py">this</a> and run:<br>
    87 <pre>
    88 sudo cp -f figure.py /Library/Python/2.3/matplotlib/
    89 </pre>
    9077
    9178<h2>Oh yeah there is ASAP, too</h2>
Note: See TracChangeset for help on using the changeset viewer.