Changeset 2656 for trunk


Ignore:
Timestamp:
10/09/12 12:05:47 (12 years ago)
Author:
Malte Marquarding
Message:

create temporary 'sudo' MPLCFGDIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install_osx.sh

    r2655 r2656  
    99ASAPVERS=4.1
    1010OSXVERS=$(sw_vers |  grep -o '10\.[7-8]')
    11 if [ -n ${OSXVERS} ]; then echo "Only OS X >= 10.7 supported"; exit 1; fi
     11echo $OSXVERS
     12if [ -z ${OSXVERS} ]; then echo "Only OS X >= 10.7 supported"; exit 1; fi
    1213ASAPEGG="${FTPURL}/${ASAPVERS}/asap-4.1.0-py2.7-macosx-${OSXVERS}-intel.egg"
    1314MPLEGG="${FTPURL}/matplotlib/matplotlib-1.1.1-py2.7-macosx-${OSXVERS}-intel.egg"
     
    1718then
    1819    echo "Matplotlib not installed. Installing from CASS ftp server..."
    19     /usr/bin/easy_install-2.7 ${MPLEGG}
     20    /usr/bin/easy_install-2.7 -U ${MPLEGG}
    2021fi
    2122
    2223# This should pull in IPython if required
    23 /usr/bin/easy_install-2.7 ${ASAPEGG}
     24/usr/bin/easy_install-2.7 -U ${ASAPEGG}
    2425
    2526# make sure readline is installed
     
    2728
    2829# update measures data
    29 /usr/local/bin/asap_update_data
     30MPLTMP=/tmp/mpltmp
     31mkdir ${MPLTMP}
     32MPLCONFIGDIR="${MPLTMP}" /usr/local/bin/asap_update_data
     33rm -rf ${MPLTMP}
Note: See TracChangeset for help on using the changeset viewer.