Skip to content

Instantly share code, notes, and snippets.

@fdr
Created November 28, 2012 17:42
Show Gist options
  • Save fdr/4162789 to your computer and use it in GitHub Desktop.
Save fdr/4162789 to your computer and use it in GitHub Desktop.
Build python 3.3 in heroku
#!/bin/sh
set -uex
root=$(pwd)
cd /tmp
curl -LO http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
tar -jxvf Python-3.3.0.tar.bz2
cd Python-3.3.0
./configure --prefix=/app/vendor/
make -sj18
make -sj18 install
cp -a /app/vendor $root/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment