Blog / Devops

Some tips when creating a custom Heroku buildpack

March 23, 2013

I spent quite a bit of time last week creating a custom Heroku buildpack for a Python library I wanted to use on Heroku. It's a library for converting HTML to PDF (Weasyprint). It has quite a bit of dependencies on other packages, such as a few -dev packages. Unfortunately, Heroku doesn't have a lot of these packages installed by default.

The solution is to create a custom Heroku buildpack. This was …

Newer