Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 158 commits ahead, 40 commits behind heroku:master

Python 3.4.3

latest commit 2d4119cd9a
@kennethreitz kennethreitz authored jtarchie committed
..
Failed to load latest commit information.
libraries http: update all external links to use secure protocol.
runtimes Python 3.4.3
README.md deploy instructions

README.md

Python Buildpack Binaries

To get started with it, create an app on Heroku inside a clone of this repository, and set your S3 config vars:

$ heroku create --buildpack https://github.com/heroku/heroku-buildpack-python#not-heroku
$ heroku config:set WORKSPACE_DIR=builds
$ heroku config:set AWS_ACCESS_KEY_ID=<your_aws_key>
$ heroku config:set AWS_SECRET_ACCESS_KEY=<your_aws_secret>
$ heroku config:set S3_BUCKET=<your_s3_bucket_name>

Then, shell into an instance and run a build by giving the name of the formula inside builds:

$ heroku run bash
Running `bash` attached to terminal... up, run.6880
~ $ bob build runtimes/python-2.7.6

Fetching dependencies... found 2:
  - libraries/sqlite

Building formula runtimes/python-2.7.6:
    === Building Python 2.7.6
    Fetching Python v2.7.6 source...
    Compiling...

If this works, run bob deploy instead of bob build to have the result uploaded to S3 for you.

To speed things up drastically, it'll usually be a good idea to heroku run bash --size PX instead.

Enjoy :)

Something went wrong with that request. Please try again.