1
我試圖讓擴建的配置,如果需要用於安裝psycopg2雞蛋和從源頭的Postgres:擴建,psycopg2,PostgreSQL的
parts =
...
postgre
psycopg2
...
[postgre]
recipe = hexagonit.recipe.cmmi
url = ftp://ftp3.ua.postgresql.org/pub/mirrors/postgresql/source/v9.0.0/postgresql-9.0.0.tar.gz
configure-options =
--without-readline
[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
include-dirs =
${postgre:location}/include
library-dirs =
${postgre:location}/lib
rpath =
${postgre:location}/lib
的問題是,它始終即使建立從源代碼的PostgreSQL,用戶已經安裝了postgresql。
我該如何判斷buildout以檢查用戶是否已經擁有了構建psycopg2所需的全部功能?
所以你是對的,我必須爲此做出自己的配方。 – 2010-11-24 12:03:36