source: branches/Release2.0/web/osx.html@ 2497

Last change on this file since 2497 was 664, checked in by mar637, 19 years ago

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<?php include("base.inc"); ?>
5<title>ASAP - ATNF Spectral line Analysis Package</title>
6<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7<meta name="DC.Creator" lang="en" content="personalName=Marquarding,Malte" />
8<meta name="ATNF.Maintainer" content="contactName=Marquarding,Malte" />
9<meta name="DC.Title" lang="en" content="Homepage of Malte Marquarding" />
10<meta name="DC.Title.alt" lang="en" content="" />
11<meta name="DC.Subject" lang="en" content="spectral line" />
12<meta name="DC.Description" lang="en" content="Just some links and contact details" />
13<meta name="DC.Date.created" scheme="ISO8601" content="2005-08-02" />
14<meta name="ATNF.Site" content="Marsfield" />
15<meta name="ATNF.AccessPermission" content="Public" />
16<meta name="ATNF.MetaVersion" content="1.0" />
17<?php standard_head(); ?>
18<STYLE TYPE="text/css">
19<!--
20B.asap {
21 text-align: center;
22 color: blue;
23}
24B.note {
25 color: red;
26}
27-->
28</STYLE>
29</head>
30<body bgcolor="#FFFFFF" text="#000000">
31<?php
32title_bar("atnf");
33title_crumbs("/computing/software/");
34?>
35<!-- Start Content -->
36<h1>ASAP OS X (10.4)install</h1>
37This might or might not work with 10.3. Obviously, steps specific for
3810.4 have to be omitted.
39<h2>Getting stuff</h2>
40<a href="http://pythonmac.org/packages">pythonmac.org</a> has
41pre-packaged python modules.
42<br>
43From the section <b>Mac OS X 10.4 (stock Python 2.3.5) </b>
44<br>get
45<ul>
46 <li>
47<a
48 href="http://pythonmac.org/packages/TigerPython23Compat.pkg.zip">TigerPython23Compat</a> </li>
49</ul>
50From the section <b>Mac OS X 10.3 (stock Python 2.3.0) </b>
51<br>get
52<ul>
53 <li>
54<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>
61</ul>
62<br>
63Next get <a href="http://ipython.scipy.org/dist">ipython</a> and run:<br>
64<pre>
65tar zxvf ipython-0.6.15.tar.gz
66sudo python setup.py install
67sudo ln -s ../../System/Library/Frameworks/Python.framework/Versions/2.3/bin/ipython /usr/bin/ipython
68</pre>
69
70
71<h2>Tweaking it</h2>
72Run the following in a terminal:<br>
73OSX comes with your own pimp pre-installed, so better use him!<br>
74<pre>
75sudo python `python -c "import pimp; print pimp.__file__"` -i readline
76</pre>
77
78Then as 'root' or 'sudo' edit<br>
79<b>/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc</b><br>
80In this file replace<br>
81<b> backend : GTKAgg</b><br>
82with<br>
83<b> backend : TkAgg</b><br>
84<p>
85Now we have to patch matplotlib:
86Get <a href="./figure.py">this</a> and run:<br>
87<pre>
88sudo cp -f figure.py /Library/Python/2.3/matplotlib/
89</pre>
90
91<h2>Oh yeah there is ASAP, too</h2>
92Get
93<a
94href="ftp://ftp.atnf.csiro.au/pub/software/asap/asap_osx.tar.bz2">this</a>.
95Unpack and run.<br>
96<pre>
97tar jxvf asap_osx.tar.bz2
98sudo sh install.sh
99</pre>
100
101<h2>Run ASAP</h2>
102Now you should be able to run "asap". On first run you might have to
103answer a few set-up questions (ipython) and get a lot of font related
104errors (matplotlib). Ignore these.
105
106<!-- End Content -->
107<?php footer(); ?>
108</body>
109</html>
Note: See TracBrowser for help on using the repository browser.