source: trunk/web/osx.html@ 2364

Last change on this file since 2364 was 1071, checked in by mar637, 18 years ago

minor updates and fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 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.
38<h2>Getting stuff</h2>
39<a href="http://pythonmac.org/packages">pythonmac.org</a> has
40a pre-packaged python and some modules.
41<br>
42From the section <b>Packages for Universal...</b>
43<br>get and install
44<ul>
45 <li>
46<a
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>
51</ul>
52You also need to get numpy:
53<ul>
54 <li>
55<a
56 href="http://prdownloads.sourceforge.net/numpy/numpy-0.9.6-py2.4-macosx10.4.dmg?download">numpy</a> </li>
57</ul>
58<br>
59Next get <a href="http://ipython.scipy.org/dist/ipython-0.7.2.tar.gz">ipython</a> and run:<br>
60<pre>
61sudo python setup.py install
62</pre>
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>
69<h2>Tweaking it</h2>
70Run the following in a terminal:<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>
73In this file replace<br>
74<b> backend : WXAgg</b><br>
75with<br>
76<b> backend : TkAgg</b><br>
77
78<h2>Oh yeah there is ASAP, too</h2>
79Get
80<a
81href="ftp://ftp.atnf.csiro.au/pub/software/asap/asap_osx.tar.bz2">this</a>.
82Unpack and run.<br>
83<pre>
84tar jxvf asap_osx.tar.bz2
85sudo sh install.sh
86</pre>
87
88<h2>Run ASAP</h2>
89Now you should be able to run "asap". On first run you might have to
90answer a few set-up questions (ipython) and get a lot of font related
91errors (matplotlib). Ignore these.
92
93<!-- End Content -->
94<?php footer(); ?>
95</body>
96</html>
Note: See TracBrowser for help on using the repository browser.