diff --git a/builds/runtimes/python-2.7.11 b/builds/runtimes/python-2.7.11 new file mode 100755 index 0000000000000000000000000000000000000000..4e60fed21befcc10298a602bd6c547c7a2b18316 --- /dev/null +++ b/builds/runtimes/python-2.7.11 @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ +# Build Deps: libraries/sqlite + +OUT_PREFIX=$1 + +echo "Building Python..." +SOURCE_TARBALL='https://python.org/ftp/python/2.7.11/Python-2.7.11.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.11 src +cd src + +./configure --prefix=$OUT_PREFIX --with-ensurepip=no +make +make install diff --git a/builds/runtimes/python-3.5.1 b/builds/runtimes/python-3.5.1 new file mode 100755 index 0000000000000000000000000000000000000000..08300a94bbbf932db5b8d5d47b22f2e457b1da8f --- /dev/null +++ b/builds/runtimes/python-3.5.1 @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ +# Build Deps: libraries/sqlite + +OUT_PREFIX=$1 + +echo "Building Python..." +SOURCE_TARBALL='https://python.org/ftp/python/3.5.1/Python-3.5.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.5.1 src +cd src + +./configure --prefix=$OUT_PREFIX --with-ensurepip=no --enable-shared +make +make install + +ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +