Files
heroku-buildpack-python/builds/runtimes/python-3.3.5
T
Kenneth Reitz 1fdeedf112 python 3.3.5
2014-07-03 16:55:45 -04:00

18 lines
376 B
Bash
Executable File

#!/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/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 --enable-shared
make
make install
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python