Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge branch 'master' of

  • Loading branch information...
commit d7e949cf80ef4cf2cfc6e1f9a3cfbda4860499d5 2 parents 95f7476 + 813b177
@cjdd3b cjdd3b authored
Showing with 20 additions and 23 deletions.
  1. +20 −23
@@ -13,35 +13,32 @@ Usage
Example usage:
- $ ls
- Procfile requirements.txt
- $ heroku create --stack cedar --buildpack
+ $ heroku create --stack cedar --buildpack
$ git push heroku master
-----> Heroku receiving push
- -----> Fetching custom build pack... done
+ -----> Fetching custom buildpack... done
-----> Python app detected
- -----> Preparing virtualenv version 1.6.4
- New python executable in ./bin/python
- Installing setuptools............done.
- Installing pip...............done.
- -----> Installing dependencies using pip version 1.0.2
- Downloading/unpacking Flask==0.7.2 (from -r requirements.txt (line 1))
- Downloading/unpacking Werkzeug>=0.6.1 (from Flask==0.7.2->-r requirements.txt (line 1))
- Downloading/unpacking Jinja2>=2.4 (from Flask==0.7.2->-r requirements.txt (line 1))
- Installing collected packages: Flask, Werkzeug, Jinja2
- Successfully installed Flask Werkzeug Jinja2
- Cleaning up...
-The buildpack will detect your app as Python if it has the file `requirements.txt` in the root. It will detect your app as Python/Django if there is an additional `` in a project subdirectory.
+ -----> Fetching and installing GEOS 3.3.2
+ -----> Installing ...
+ GEOS installed
+ -----> Fetching and installing Proj.4 4.7.0
+ -----> Installing ...
+ Proj.4 installed
+ -----> Fetching and installing GDAL 1.8.1
+ -----> Installing ...
+ GDAL installed
+ -----> Preparing virtualenv version 1.7
+ ... etc.
-It will use virtualenv and pip to install your dependencies, vendoring a copy of the Python runtime into your slug. The `bin/`, `include/` and `lib/` directories will be cached between builds to allow for faster pip install time.
+All libraries are stored in /app/.github.
+IMPORTANT: You will need to set two Django settings in order for GEOS and GDAL to work properly!
-To use this buildpack, fork it on Github. Push up changes to your fork, then create a test app with `--buildpack <your-github-url>` and push to it.
+GEOS_LIBRARY_PATH = '/app/.geodjango/geos/lib/'
-To change the vendored virtualenv, unpack the desired version to the `src/` folder, and update the virtualenv() function in `bin/compile` to prepend the virtualenv module directory to the path. The virtualenv release vendors its own versions of pip and setuptools.
+GDAL_LIBRARY_PATH = '/app/.geodjango/gdal/lib/'

0 comments on commit d7e949c

Please sign in to comment.
Something went wrong with that request. Please try again.