From f3787356b6243606d4ed932441831325d0eb98c8 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Mon, 2 Jun 2014 16:56:26 -0400
Subject: [PATCH] 2.4.x series

---
 builds/runtimes/python-2.4.4 | 18 ++++++++++++++++++
 builds/runtimes/python-2.4.5 | 18 ++++++++++++++++++
 builds/runtimes/python-2.4.6 | 18 ++++++++++++++++++
 3 files changed, 54 insertions(+)
 create mode 100755 builds/runtimes/python-2.4.4
 create mode 100755 builds/runtimes/python-2.4.5
 create mode 100755 builds/runtimes/python-2.4.6

diff --git a/builds/runtimes/python-2.4.4 b/builds/runtimes/python-2.4.4
new file mode 100755
index 00000000..84addd6f
--- /dev/null
+++ b/builds/runtimes/python-2.4.4
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+# Build Path: /app/.heroku/python/
+# Build Deps: libraries/sqlite
+
+OUT_PREFIX=$1
+
+# Protect 2.4 builds from parent Python (causes segfault during build).
+unset LANG PYTHONHOME PYTHONPATH
+
+echo "Building Python..."
+SOURCE_TARBALL='http://python.org/ftp/python/2.4.4/Python-2.4.4.tgz'
+curl -L $SOURCE_TARBALL | tar xz
+mv Python-2.4.4 src
+cd src
+
+./configure --prefix=$OUT_PREFIX
+make
+make install
diff --git a/builds/runtimes/python-2.4.5 b/builds/runtimes/python-2.4.5
new file mode 100755
index 00000000..b4555d0e
--- /dev/null
+++ b/builds/runtimes/python-2.4.5
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+# Build Path: /app/.heroku/python/
+# Build Deps: libraries/sqlite
+
+OUT_PREFIX=$1
+
+# Protect 2.4 builds from parent Python (causes segfault during build).
+unset LANG PYTHONHOME PYTHONPATH
+
+echo "Building Python..."
+SOURCE_TARBALL='http://python.org/ftp/python/2.4.5/Python-2.4.5.tgz'
+curl -L $SOURCE_TARBALL | tar xz
+mv Python-2.4.5 src
+cd src
+
+./configure --prefix=$OUT_PREFIX
+make
+make install
diff --git a/builds/runtimes/python-2.4.6 b/builds/runtimes/python-2.4.6
new file mode 100755
index 00000000..ffebad19
--- /dev/null
+++ b/builds/runtimes/python-2.4.6
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+# Build Path: /app/.heroku/python/
+# Build Deps: libraries/sqlite
+
+OUT_PREFIX=$1
+
+# Protect 2.4 builds from parent Python (causes segfault during build).
+unset LANG PYTHONHOME PYTHONPATH
+
+echo "Building Python..."
+SOURCE_TARBALL='http://python.org/ftp/python/2.4.6/Python-2.4.6.tgz'
+curl -L $SOURCE_TARBALL | tar xz
+mv Python-2.4.6 src
+cd src
+
+./configure --prefix=$OUT_PREFIX
+make
+make install
-- 
GitLab