diff --git a/formula/python-3.3.5 b/formula/python-3.3.5 new file mode 100755 index 0000000..d294aaf --- /dev/null +++ b/formula/python-3.3.5 @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# Options: + +OUT_PREFIX=$1 + +echo "Building SQLite..." +./parts/sqlite $OUT_PREFIX + +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.5/Python-3.3.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.5 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src +ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python