This repo exists as a framework for the compilation and deployment of binaries and libraries on Heroku.
It is inspired by (and extracted from) kennethreitz/python-versions.
- Flexible type hierarchy
- Flat dependency resolution
- Version agnostic (careful curation and naming conventions preferred)
- Import already-deployed sub-dependencies during a build (optionally fetch from
UPSTREAM_S3_BUCKET
)
- Bash, mostly
- A litle bit of Python
- Boto
$ heroku create build-toolkit-python-staging --buildpack https://github.com/kennethreitz/conda-buildpack.git
$ heroku config:set AWS_ACCESS_KEY_ID=xxx AWS_SECRET_ACCESS_KEY=xxx S3_BUCKET=xxx
Now that your Heroku app for building is created, push a repo containing your formula to the app (e.g. the python buildpack repo).
$ heroku run bash
$ bob build runtimes/python-2.7.6
$ bob deploy runtimes/python-2.7.6