root/primagis.buildout/branches/zc.buildout/buildout.cfg

Revision 1146, 4.2 KB (checked in by dokai, 3 years ago)

Fixed the spatialindex part and updated plone to 3.0.5.

Line 
1[buildout]
2index = http://download.zope.org/ppix
3find-links = http://yum.zope.com/buildout/
4hooks-directory = ${buildout:directory}/base/pcl.buildout/hooks
5extends =
6    base/pcl.buildout/buildout.cfg
7    base/rtree.buildout/buildout.cfg
8    pclcore-test-environment.cfg
9    zco-test-environment.cfg
10parts =
11# Python Cartographic Library (PCL)
12    python
13    psycopg2
14    postgis
15    gdal
16    mapscript
17    PCL-Core
18    PCL-GDAL
19    PCL-MapServer
20    worldborders
21# Rtree spatial index
22    spatialindex
23    rtree
24# Zope / Plone
25    plone
26    zope
27    zope-instance
28    clouseau
29# Scripts
30    interpreter
31    test-pcl-core
32    test-pcl-gdal
33    test-pcl-mapserver
34    test-pcl-georss
35    test-zco
36    test-primagis
37    test-rtree
38    test-geojson
39python = custom-python
40develop =
41    base/pcl.buildout/src/OWSLib
42    base/pcl.buildout/src/PCL/PCL-GeoRSS
43    src/ZCO
44    src/PrimaGIS
45    src/GeoJSON
46versions = versions
47
48[versions]
49plone.recipe.plone = 3.0.5
50hexagonit.recipe.download = 1.0.1
51hexagonit.recipe.cmmi = 1.1.0
52simplejson = 1.7.3
53zc.buildout = 1.0.0b30
54zc.recipe.egg = 1.0.0b6
55setuptools = 0.6c7
56
57[plone]
58recipe = plone.recipe.plone
59
60[zope]
61recipe = plone.recipe.zope2install
62url = ${plone:zope2-url}
63
64[zope-instance]
65recipe = plone.recipe.zope2instance
66zope2-location = ${zope:location}
67user = admin:admin
68debug-mode = on
69products =
70    ${plone:products}
71    ${buildout:directory}/products
72http-address = 7000
73verbose-security = on
74eggs =
75    ${plone:eggs}
76    PILwoTk
77    elementtree
78    simplejson
79    psycopg2
80    PCL-Core
81    PCL-GDAL
82    PCL-GeoRSS
83    PCL-MapServer
84    OWSLib
85    ZCO
86    PrimaGIS
87    Rtree
88    plone.browserlayer
89    GeoJSON
90zcml =
91    primagis
92zope-conf-additional =
93    default-zpublisher-encoding utf-8
94
95[clouseau]
96recipe = hexagonit.recipe.download
97url = http://dist.hexagonit.fi/clouseau-0-8-1.zip
98md5sum = 92d6c7f4865558577d65d1597f042f42
99destination = ${buildout:directory}/products
100
101[interpreter]
102recipe = zc.recipe.egg
103eggs = ${zope-instance:eggs}
104interpreter = python
105
106[test-zco]
107recipe = zc.recipe.testrunner
108eggs =
109    mapscript
110    ZCO
111    elementtree
112defaults = ['--auto-color', '-v']
113script = test_zco
114environment = zco-test-environment
115extra-paths =
116    ${zope:location}/lib/python
117initialization =
118    open('${buildout:directory}/base/pcl.buildout/src/PCL/PCL-GDAL/fixtures/diskstore.ovf', 'w').write(open('${buildout:directory}/base/pcl.buildout/src/PCL/PCL-GDAL/fixtures/diskstore.ovf.template').read() % dict(world_borders='${worldborders:destination}/world_borders.shp'))
119
120
121[test-primagis]
122recipe = zc.recipe.testrunner
123eggs = PrimaGIS
124defaults = ['--auto-color', '-v']
125script = test_primagis
126
127[test-geojson]
128recipe = zc.recipe.testrunner
129eggs = GeoJSON
130defaults = [ '--auto-color', '-v']
131script = test_geojson
132
133# Reconfigure the PCL sections to make pcl.buildout work as a part of
134# primagis.buildout.
135
136[PCL-Core]
137setup = ${buildout:directory}/base/pcl.buildout/src/PCL/PCL-Core/setup.py
138
139[PCL-GDAL]
140setup = ${buildout:directory}/base/pcl.buildout/src/PCL/PCL-GDAL/setup.py
141
142[PCL-MapServer]
143setup = ${buildout:directory}/base/pcl.buildout/src/PCL/PCL-MapServer/setup.py
144
145[test-pcl-core]
146script = test_pcl_core
147
148[test-pcl-gdal]
149script = test_pcl_gdal
150initialization =
151    open('${buildout:directory}/base/pcl.buildout/src/PCL/PCL-GDAL/fixtures/diskstore.ovf', 'w').write(open('${buildout:directory}/base/pcl.buildout/src/PCL/PCL-GDAL/fixtures/diskstore.ovf.template').read() % dict(world_borders='${worldborders:destination}/world_borders.shp'))
152
153[test-pcl-mapserver]
154script = test_pcl_mapserver
155initialization =
156    open('${buildout:directory}/base/pcl.buildout/src/PCL/PCL-MapServer/fixtures/diskstore.ovf', 'w').write(open('${buildout:directory}/base/pcl.buildout/src/PCL/PCL-MapServer/fixtures/diskstore.ovf.template').read() % dict(world_borders='${worldborders:destination}/world_borders.shp'))
157
158[test-pcl-georss]
159script = test_pcl_georss
160
161# Reconfigure the Rtree sections to make rtree.buildout work as a part
162# of primagis.buildout
163
164[rtree]
165setup = ${buildout:directory}/base/rtree.buildout/src/Rtree/setup.py
166
167[spatialindex]
168pre-configure-hook = ${buildout:directory}/base/rtree.buildout/hooks.py:preconfigure
169path = ${buildout:directory}/base/rtree.buildout/src/spatialindex
170
171[test-rtree]
172script = test_rtree
173extra-paths = ${buildout:directory}/base/rtree.buildout/src/Rtree/tests
Note: See TracBrowser for help on using the browser.