wiki:InstallOsxLeopard

Version 10 (modified by Malte Marquarding, 16 years ago) ( diff )

--

Installation procedure

Note that only intel based Macs are supported at this stage.

python 2.5 is required

1) python -

         curl -O http://python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmg 

the open disk image and install. In a terminal run python -V , which should return Python 2.5.4 . If not log out and log back in.

All these will probably work with the latest released version as well.

2) setuptools -

         curl -O http://peak.telecommunity.com/dist/ez_setup.py && sudo python ez_setup.py

3) ipython -

         sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/ipython-0.9.1-py2.5.egg
         #test it
         ipython  # Ctrl-D o exit

4) numpy -

         sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/numpy-1.2.1-py2.5-macosx-10.3-i386.egg
         # test it
         python -c 'from numpy import *' # should return without error

5) matplotlib -

         curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/matplotlib-0.98.5.2-py2.5-mpkg.zip

then unzip and install

         # test it
         ipython -pylab # then in ipython
         plot(range(10)) # should bring up a window with a line plotted

6) asap -

         curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz2
         tar jxf asap-2.3.1-osx-10.5-x86.tar.bz2
         cd asap-2.3.1-osx-10.5-x86
         sudo ./install
         cd 
         # test it
         python -c ' from asap import *'
         # install data needed for frequency conversions
         sudo asap_update_data

Note: See TracWiki for help on using the wiki.