mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
75f5e801dcdd294f40bb89aba5a78883869f559d
virtualenv
pip
Django settings.py
Sets up a db for every ENV ${NAME}_URL => postgres:// var:
DATABASES["DATABASE"]
DATABASES["SHARED_DATABASE"]
DATABASES["HEROKU_POSTGRESQL_ONYX"]
Aliases DATABASE_URL to default database:
DATABASES["default"] = DATABASES["DATABASE"]
Injected right after DATABASES = {...}
Hooks
Uses a Makefile for user-controlled hooks into slug compilation.
Target environment will be evald in the build script, allowing
custom exports. PIP_OPTS is passed to pip if set.
environment:
export PIP_OPTS=--upgrade
Languages
Shell
92.5%
Ruby
4%
Makefile
2.2%
Dockerfile
1.3%