Python Shell Perl
Pull request Compare This branch is 5 commits ahead, 781 commits behind heroku:master.
Latest commit 9eeba79 Aug 30, 2013 @JasonSanford Update
Failed to load latest commit information.
bin Add GDAL Aug 10, 2013
test fix tests Apr 30, 2012
vendor updated vendored pip Nov 18, 2012
.gitignore ignore site folder Mar 23, 2012
.travis.yml no travis email notification May 23, 2012 ch ch changes Jul 2, 2012
LICENSE lawyer up Feb 13, 2012
Makefile update scripts Nov 18, 2012 Update Aug 30, 2013

This custom buildpack is used to include the GEOS binaries necessary for Shapely. To force deployment to use a custom buildpack, add the following heroku config.

heroku config:set BUILDPACK_URL=git://

I think this buildpack will download/unpack the GEOS binaries each time you deploy which is not ideal. We should probably conditionally download these in the future.

Additionally, the LIBRARY_PATH must be updated so that Shapely can locate the necessary binaries.

heroku config:set LIBRARY_PATH=/app/.heroku/vendor/lib:vendor/geos/geos/lib:vendor/proj/proj/lib:vendor/gdal/gdal/lib
heroku config:set LD_LIBRARY_PATH=/app/.heroku/vendor/lib:vendor/geos/geos/lib:vendor/proj/proj/lib:vendor/gdal/gdal/lib