Changes between Version 13 and Version 14 of InstallOsxLeopard


Ignore:
Timestamp:
05/07/10 15:11:05 (15 years ago)
Author:
Malte Marquarding
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallOsxLeopard

    v13 v14  
    33Note that only intel based Macs are supported at this stage.
    44
    5 '''python 2.5 is required'''
     5'''python 2.6 is required'''
    66
    77 1) python -
    88{{{
    9          curl -O http://python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmg
     9         curl -O http://python.org/ftp/python/2.6.5/python-2.6.5-macosx10.3-2010-03-24.dmg
    1010}}}
    11     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.
     11    the open disk image and install. In a terminal run {{{ python -V }}}, which should return {{{ Python 2.6.5 }}}.  If not log out and log back in.
    1212 
    1313All these will probably work with the latest released version of those packages as well.
     
    1818}}}
    1919
    20  3) ipython -
    21 {{{
    22          sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/ipython-0.9.1-py2.5.egg
    23          #test it
    24          ipython  # Ctrl-D o exit
     203) asap
     21
     22Get the latest release:
     23
     24{{{
     25curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-3.0.0-osx-10.5-i386-python2.6.tar.bz2
    2526}}}
    2627
    27  4) numpy -
    28 {{{ 
    29          sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/numpy-1.2.1-py2.5-macosx-10.3-i386.egg
    30          # test it
    31          python -c 'from numpy import *' # should return without error
     28Unpack and follow the instructions in the README file
     29{{{
     30tar jxf asap-3.0.0-osx-10.5-i386-python2.6.tar.bz2
     31cd asap-3.0.0-osx-10.5-i386-python2.6
     32less README
    3233}}}
    33 
    34  5) matplotlib - 
    35 {{{
    36          curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/matplotlib-0.98.5.2-py2.5-mpkg.zip
    37 }}}
    38     then  unzip and install
    39 {{{
    40          # test it
    41          ipython -pylab # then in ipython
    42          plot(range(10)) # should bring up a window with a line plotted
    43 }}}
    44 
    45  6) asap -
    46 {{{
    47          curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz2
    48          tar jxf asap-2.3.1-osx-10.5-x86.tar.bz2
    49          cd asap-2.3.1-osx-10.5-x86
    50          sudo ./install
    51          cd
    52          # test it
    53          python -c 'from asap import *'
    54          # install data needed for frequency conversions
    55          sudo asap_update_data
    56 }}}
    57 
    58 Install as non-root
    59 {{{
    60          curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz2
    61          tar jxf asap-2.3.1-osx-10.5-x86.tar.bz2
    62          cd asap-2.3.1-osx-10.5-x86
    63          ./install -p $HOME -m $HOME/python # will install
    64          # Then add the following environment variables
    65          # for bash
    66          export PATH=${HOME}/bin:${PATH}
    67          export PYTHONPATH=${HOME}/python:${PYTHONPATH}
    68          asap_update_data
    69          cd
    70          # test it
    71          python -c ' from asap import *'
    72 }}}
    73