Skip to content

plotly/heroku-buildpack-python-hooks

 
 

Repository files navigation

A simple fork of the official Heroku Python buildpack to add a postinstall hook. This hook, activated by creating a shell script in the root of your repo called postinstall, will be run immediately after pip install -r requirements.txt but before compressing the slug. This allows you to uninstall packages that are hard dependencies of other packages you need, but aren't actually called when running your app.

About

Fork of the official Heroku Python buildpack, to support post-install hooks for slug size management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 49.0%
  • Shell 48.4%
  • Makefile 1.8%
  • Dockerfile 0.8%