Commit 57b5d1f4 authored by Aurélien Vermylen's avatar Aurélien Vermylen

Some more fixes and PostgreSQL connector.

parent 50c51b4d
......@@ -35,5 +35,5 @@ environment =
[postgresql92]
<= postgresql-common
url = http://ftp.postgresql.org/pub/source/v9.2.18/postgresql-9.2.22.tar.bz2
url = http://ftp.postgresql.org/pub/source/v9.2.22/postgresql-9.2.22.tar.bz2
md5sum = c5d3fb5229baf9e94ee2287980c55321
[buildout]
parts =
psycopg2
[psycopg2-env]
PATH = ${postgresql:location}/bin:%(PATH)s
[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
environment = psycopg2-env
include-dirs =
${postgresql:location}/include
library-dirs =
${postgresql:location}/lib
rpath =
${postgresql:location}/lib
\ No newline at end of file
......@@ -8,6 +8,7 @@ parts =
[shapely-env]
GEOS_CONFIG = ${geos:location}/bin/geos-config
LD_LIBRARY_PATH = ${geos:location}/lib
[shapely]
environment = shapely-env
......
......@@ -6,7 +6,9 @@ extends =
../../component/shapely/buildout.cfg
../../component/polyline/buildout.cfg
../../component/fastkml/buildout.cfg
# ../../component/clearroadutils/buildout.cfg
../../component/geos/buildout.cfg
../../component/postgresql/buildout.cfg
../../component/psycopg2/buildout.cfg
../../software/erp5/software.cfg
parts +=
......@@ -15,7 +17,8 @@ parts +=
shapely
polyline
fastkml
# clearroadutils
geos
psycopg2
ipython
wendelin.core
wendelin_test_suite_runner
......@@ -26,12 +29,13 @@ initialization =
import scipy.spatial.ckdtree # load our own libstdc++ explicitly at the very beginning
extra-paths +=
${wendelin:location}
${geos:location}
eggs +=
${msgpack-python:egg}
${shapely:egg}
${polyline:egg}
${fastkml:egg}
# ${clearroadutils:egg}
${psycopg2:egg}
${wendelin.core:egg}
${ipython:egg}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment