#!/bin/bash cd `dirname $0` . ../env name=Python-2.7.6 rm -rf $name mkdir $name cd $name $src/$name/configure \ --prefix=$prefix make && make install install_name_tool -add_rpath @loader_path/../lib $prefix/bin/python