#!/bin/bash

#Some cleanup
rm -rf src
rm -rf ipython-0.12
mkdir src 

#Download from ISSM server
$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/ipython-0.12.tar.gz' 'ipython-0.12.tar.gz'

#Untar 
tar -zxvf  ipython-0.12.tar.gz

#Move ipython into src directory
mv ipython-0.12/* src
rm -rf ipython-0.12

#install  ipython
cd src
python setup.py build
python setup.py install
