From fcfc2f865126a1ea4f6e70cb2c455a1c91d72ede Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Wed, 2 Jul 2014 10:12:19 -0400 Subject: [PATCH] python-2.7.8 (--shared) --- builds/runtimes/python-2.7.8 | 15 +++++++++++++++ builds/runtimes/python-2.7.8-shared | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100755 builds/runtimes/python-2.7.8 create mode 100755 builds/runtimes/python-2.7.8-shared diff --git a/builds/runtimes/python-2.7.8 b/builds/runtimes/python-2.7.8 new file mode 100755 index 00000000..1baeff97 --- /dev/null +++ b/builds/runtimes/python-2.7.8 @@ -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='http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.8 src +cd src + +./configure --prefix=$OUT_PREFIX --enable-shared +make +make install diff --git a/builds/runtimes/python-2.7.8-shared b/builds/runtimes/python-2.7.8-shared new file mode 100755 index 00000000..07009891 --- /dev/null +++ b/builds/runtimes/python-2.7.8-shared @@ -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='http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.8 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install -- GitLab