|
Revision 806, 1.0 KB
(checked in by dokai, 3 years ago)
|
|
GeoJSON buildout.
|
| Line | |
|---|
| 1 | ================== |
|---|
| 2 | GeoJSON - Buildout |
|---|
| 3 | ================== |
|---|
| 4 | |
|---|
| 5 | This is a buildout system for GeoJSON. It is based on zc.buildout. |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | Installation |
|---|
| 9 | ------------ |
|---|
| 10 | |
|---|
| 11 | $ svn co http://svn.gispython.org/svn/gispy/buildout/geojson.buildout/trunk geojson.buildout |
|---|
| 12 | $ python bootstrap.py |
|---|
| 13 | $ ./bin/buildout |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | Testing |
|---|
| 17 | ------- |
|---|
| 18 | |
|---|
| 19 | The test suite is run by:: |
|---|
| 20 | |
|---|
| 21 | $ ./bin/test |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | Developing |
|---|
| 25 | ---------- |
|---|
| 26 | |
|---|
| 27 | The GeoJSON code is under ``src/GeoJSON``. It is installed as a |
|---|
| 28 | development egg so any changes made to the source code are immediately |
|---|
| 29 | available for use. |
|---|
| 30 | |
|---|
| 31 | There is a python interpreter available under:: |
|---|
| 32 | |
|---|
| 33 | $ ./bin/python |
|---|
| 34 | |
|---|
| 35 | that has GeoJSON available for importing and use. |
|---|
| 36 | |
|---|
| 37 | If you're using multiple zc.buildout based buildouts for your |
|---|
| 38 | development, you may wish to share the downloaded eggs and tarballs |
|---|
| 39 | among them to save disk space. To do this create a file:: |
|---|
| 40 | |
|---|
| 41 | ~/.buildout/default.cfg |
|---|
| 42 | |
|---|
| 43 | and put the following there:: |
|---|
| 44 | |
|---|
| 45 | [buildout] |
|---|
| 46 | eggs = /path/to/shared/egg/container |
|---|
| 47 | download-directory = /path/to/shared/package/container |
|---|
| 48 | |
|---|