Python and C Dependencies
Last updated 13 January 2017
When deploying Python applications to Heroku, most requested packages install properly and work as expected. However, some packages, like
scipy, require obscure C dependencies that are not supported by Heroku at this time.
Scientific Python Users
If your application utilizes obscure dependencies (scipy, scikit-learn, etc), you can use this example application as an easy starting place to deploy your application to Heroku today, utilizing the power of our beta Docker support and Continuum’s powerful Miniconda package manager:
GeoDjango Application Libraries
If your application requires geo libraries, experimental support for a handful of these libraries are available:
- GDAL v1.11.1
- Geos v3.4.2
- Proj v4.8.0
To make these libraries available to your application, simply set the
BUILD_WITH_GEO_LIBRARIES environment variable:
$ heroku config:set BUILD_WITH_GEO_LIBRARIES=1
During your next build, these libraries will be downloaded and installed.