Source

sage-geom / install

Full commit
if [ $# -eq 0 ]; then
    echo "Usage: $0 <SAGE_ROOT> [SAGE_VERSION]"
    echo "Build and install SAGE."
    exit 1
fi

CUR=`pwd`
cd $1
SAGE_ROOT=`pwd`
cd $CUR
export SAGE_ROOT

SAGE_VERSION=$2
export SAGE_VERSION

PATH=$SAGE_ROOT/local/bin/:$PATH
export PATH

python setup.py install

exit $?