|
Revision 1010, 1.2 KB
(checked in by dokai, 3 years ago)
|
|
Updated the buildout to match the changes in the spatialindex source tree.
|
| Line | |
|---|
| 1 | [buildout] |
|---|
| 2 | index = http://download.zope.org/ppix |
|---|
| 3 | parts = |
|---|
| 4 | python-2.4 |
|---|
| 5 | spatialindex |
|---|
| 6 | rtree |
|---|
| 7 | interpreter |
|---|
| 8 | test-rtree |
|---|
| 9 | python = custom-python |
|---|
| 10 | |
|---|
| 11 | [python-2.4] |
|---|
| 12 | recipe = hexagonit.recipe.cmmi |
|---|
| 13 | url = http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz |
|---|
| 14 | configure-options = |
|---|
| 15 | --with-threads |
|---|
| 16 | --with-readline |
|---|
| 17 | CPPFLAGS=-DSETPGRP_HAVE_ARG=1 |
|---|
| 18 | |
|---|
| 19 | [python-2.5] |
|---|
| 20 | recipe = hexagonit.recipe.cmmi |
|---|
| 21 | url = http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz |
|---|
| 22 | configure-options = |
|---|
| 23 | --with-threads |
|---|
| 24 | --with-readline |
|---|
| 25 | |
|---|
| 26 | [custom-python] |
|---|
| 27 | executable = ${python-2.4:location}/bin/python |
|---|
| 28 | |
|---|
| 29 | [spatialindex] |
|---|
| 30 | recipe = hexagonit.recipe.cmmi |
|---|
| 31 | pre-configure-hook = ${buildout:directory}/hooks.py:preconfigure |
|---|
| 32 | path = ${buildout:directory}/src/spatialindex |
|---|
| 33 | |
|---|
| 34 | [rtree] |
|---|
| 35 | recipe = zc.recipe.egg:develop |
|---|
| 36 | setup = ${buildout:directory}/src/Rtree/setup.py |
|---|
| 37 | include-dirs = |
|---|
| 38 | ${spatialindex:location}/include |
|---|
| 39 | library-dirs = |
|---|
| 40 | ${spatialindex:location}/lib |
|---|
| 41 | rpath = |
|---|
| 42 | ${spatialindex:location}/lib |
|---|
| 43 | |
|---|
| 44 | [interpreter] |
|---|
| 45 | recipe = zc.recipe.egg |
|---|
| 46 | eggs = Rtree |
|---|
| 47 | interpreter = python |
|---|
| 48 | |
|---|
| 49 | [test-rtree] |
|---|
| 50 | recipe = zc.recipe.testrunner |
|---|
| 51 | eggs = Rtree |
|---|
| 52 | extra-paths = ${buildout:directory}/src/Rtree/tests |
|---|
| 53 | defaults = [ '--auto-color', '-v'] |
|---|
| 54 | script = test |
|---|