changelog shortlog tags changeset manifest revisions annotate raw

buildout.cfg

changeset 5: 911df9ac5335
parent:643beb926491
author: Sean Gillies <sgillies@frii.com>
date: Wed Feb 27 16:46:17 2008 -0700 (5 months ago)
permissions: -rw-r--r--
description: Get GEOS properly on the library path
1[buildout]
2parts =
3 python-2.5
4 custom-eggs
5 cython-src
6 cython-install
7 libgeos
8 libgdal
9 libspatialindex
10 gdal
11 rtree
12 shapely
13 worldmill
14 numpy
15 gdawgpy
16python = custom-python
17
18[python-2.5]
19recipe = hexagonit.recipe.cmmi
20url = http://python.org/ftp/python/2.5.1/Python-2.5.1.tar.bz2
21configure-options =
22 --with-threads
23 --with-readline
24
25[custom-python]
26executable = ${python-2.5:location}/bin/python
27
28[custom-eggs]
29recipe = zc.recipe.egg:eggs
30eggs =
31 simplejson
32
33[cython-src]
34recipe = hexagonit.recipe.download
35url = http://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.11b.tar.gz
36
37[cython-install]
38recipe = iw.recipe.cmd
39on_install = true
40cmds = cd ${buildout:directory}/parts/cython-src/Cython-0.9.6.11b; ${custom-python:executable} setup.py install
41
42[libgeos]
43recipe = hexagonit.recipe.cmmi
44url = http://geos.refractions.net/downloads/geos-3.0.0.tar.bz2
45patch-options = -p1
46patches =
47 ${buildout:directory}/patches/geos-3.0.0-conditional.patch
48
49[libgdal]
50recipe = hexagonit.recipe.cmmi
51url = http://download.osgeo.org/gdal/gdal-1.5.0.tar.gz
52configure-options =
53 CFLAGS=-I${libgeos:location}/include
54 LDFLAGS=-L${libgeos:location}/lib
55
56[libspatialindex]
57recipe = hexagonit.recipe.cmmi
58url = http://trac.gispython.org/projects/SpatialIndex/attachment/wiki/Releases/spatialindex-1.3.0.tar.gz?format=raw
59
60[gdal]
61recipe = zc.recipe.egg:custom
62egg = GDAL
63include-dirs = ${libgdal:location}/include
64library-dirs = ${libgdal:location}/lib
65rpath = ${libgdal:location}/lib
66libraries = gdal
67
68[worldmill]
69recipe = zc.recipe.egg:custom
70egg = WorldMill
71include-dirs = ${libgdal:location}/include
72library-dirs = ${libgdal:location}/lib
73rpath = ${libgdal:location}/lib
74libraries = gdal
75
76[rtree]
77recipe = zc.recipe.egg:custom
78egg = Rtree
79include-dirs = ${libspatialindex:location}/include
80library-dirs = ${libspatialindex:location}/lib
81rpath = ${libspatialindex:location}/lib
82libraries = spatialindex
83
84[shapely]
85recipe = zc.recipe.egg
86egg = Shapely
87
88[numpy]
89recipe = zc.recipe.egg
90egg = Numpy
91
92[gdawgpy]
93recipe = zc.recipe.egg
94interpreter = gdawgpy
95initialization =
96 import os
97 os.environ['LD_LIBRARY_PATH'] = ${libgeos:location}/lib
98eggs =
99 simplejson
100 GDAL
101 Rtree
102 Shapely
103 WorldMill
104 numpy
105