Skip to content

Commit

Permalink
Enable postgresql
Browse files Browse the repository at this point in the history
Note that I think there is a problem with the mysqlclient build on OS X,
at least.
  • Loading branch information
jamadden committed Oct 6, 2016
1 parent 72e42ef commit cd48e33
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
[buildout]
develop = .
base-parts =
# postgresql
# postgresqlinit
# psycopg2
postgresql
postgresqlinit
psycopg2
mysqlconf
mysql
mysqlinit
Expand Down Expand Up @@ -51,21 +51,22 @@ newest = false
root-directory = ${buildout:directory}


[postgresql]
recipe = zc.recipe.cmmi
url = http://ftp.postgresql.org/pub/source/v9.2.0/postgresql-9.2.0.tar.bz2
md5sum = 8c4c32a4abe8cf61b02c8366181ede50
extra_options =
--with-pgport=24004
[postgresql:linux]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://get.enterprisedb.com/postgresql/postgresql-9.6.0-1-linux-x64-binaries.tar.gz

[postgresql:macosx]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://get.enterprisedb.com/postgresql/postgresql-9.6.0-1-osx-binaries.zip

[postgresqlinit]
recipe = iw.recipe.cmd
on_install = true
on_update = true
datadir = ${buildout:directory}/var/postgresql
cmds =
test -e ${buildout:directory}/bin/psql || \
ln -s ${postgresql:location}/bin/psql ${buildout:directory}/bin/psql
test -e ${postgresqlinit:datadir} && exit 0
${postgresql:location}/bin/initdb ${postgresqlinit:datadir}
${postgresql:location}/bin/postgres --single -D ${postgresqlinit:datadir} \
Expand Down Expand Up @@ -217,9 +218,8 @@ eggs =
RelStorage
python-memcached
${MySQL-python:egg}
psycopg2

#psycopg2
#pylibmc
interpreter = py

[versions]
Expand Down

0 comments on commit cd48e33

Please sign in to comment.