|
Revision 830, 1.1 KB
(checked in by dokai, 3 years ago)
|
|
Build rpath info into the extension so that we don't need to play with
LD_LIBRARY_PATH.
If you are updating from a previous version of the buildout, you need to
remove the old 'build' directory to ensure the extension gets build again.
--This line, and those below, will be ignored--
D setenv
M buildout.cfg
M README.txt
|
| Line | |
|---|
| 1 | ================== |
|---|
| 2 | Rtree - Buildout |
|---|
| 3 | ================== |
|---|
| 4 | |
|---|
| 5 | This is a buildout system for Rtree. It is based on zc.buildout. |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | Installation |
|---|
| 9 | ------------ |
|---|
| 10 | |
|---|
| 11 | $ svn co http://svn.gispython.org/svn/gispy/buildout/rtree.buildout/trunk rtree.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 | Developing |
|---|
| 24 | ---------- |
|---|
| 25 | |
|---|
| 26 | The Rtree code is under ``src/Rtree``. It is installed as a |
|---|
| 27 | development egg so any changes made to the source code are immediately |
|---|
| 28 | available for use. |
|---|
| 29 | |
|---|
| 30 | There is a python interpreter available under:: |
|---|
| 31 | |
|---|
| 32 | $ ./bin/python |
|---|
| 33 | |
|---|
| 34 | that has Rtree available for importing and use. |
|---|
| 35 | |
|---|
| 36 | The spatialindex C++ library is also included in the buildout at |
|---|
| 37 | ``src/tools`` and ``src/spatialindex`` which the Rtree python package |
|---|
| 38 | uses internally. |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | If you're using multiple zc.buildout based buildouts for your |
|---|
| 42 | development, you may wish to share the downloaded eggs and tarballs |
|---|
| 43 | among them to save disk space. To do this create a file:: |
|---|
| 44 | |
|---|
| 45 | ~/.buildout/default.cfg |
|---|
| 46 | |
|---|
| 47 | and put the following there:: |
|---|
| 48 | |
|---|
| 49 | [buildout] |
|---|
| 50 | eggs = /path/to/shared/egg/container |
|---|
| 51 | download-directory = /path/to/shared/package/container |
|---|
| 52 | |
|---|