From e01d5bc18b202f3b54fffb3f48cabd2db4154cd8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 26 Mar 2014 11:30:27 -0400 Subject: [PATCH] bob-builder start --- builds/libraries/sqlite | 22 ++++++++++++++++++++++ builds/runtimes/python-2.7.6 | 18 ++++++++++++++++++ requirements.txt | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100755 builds/libraries/sqlite create mode 100755 builds/runtimes/python-2.7.6 diff --git a/builds/libraries/sqlite b/builds/libraries/sqlite new file mode 100755 index 0000000..026a448 --- /dev/null +++ b/builds/libraries/sqlite @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ + +OUT_PREFIX=$1 + +echo "Building SQLite..." + + +SOURCE_TARBALL='http://www.sqlite.org/sqlite-autoconf-3070900.tar.gz' + +curl $SOURCE_TARBALL | tar xz +# jx +mv sqlite-autoconf-3070900 sqlite + +cd sqlite +./configure --prefix=$OUT_PREFIX +make +make install + +# Cleanup +cd .. +rm -fr sqlite diff --git a/builds/runtimes/python-2.7.6 b/builds/runtimes/python-2.7.6 new file mode 100755 index 0000000..f39832f --- /dev/null +++ b/builds/runtimes/python-2.7.6 @@ -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='http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.6 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src diff --git a/requirements.txt b/requirements.txt index 663bd1f..3050b50 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests \ No newline at end of file +bob-builder==0.0.2 \ No newline at end of file