File: postgres.cfg

package info (click to toggle)
zope.sqlalchemy 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 228 kB
  • ctags: 141
  • sloc: python: 659; makefile: 3; sh: 1
file content (22 lines) | stat: -rw-r--r-- 613 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# PATH=/opt/local/lib/postgresql90/bin:$PATH bin/buildout -c postgres.cfg
# sudo -u postgres /opt/local/lib/postgresql90/bin/createdb zope_sqlalchemy_tests
# sudo -u postgres /opt/local/lib/postgresql90/bin/createuser -s <username>
# sudo -u postgres /opt/local/lib/postgresql90/bin/postgres -D /opt/local/var/db/postgresql90/defaultdb -d 1
[buildout]
extends = buildout.cfg
find-links = http://initd.org/pub/software/psycopg/
allow-hosts += initd.org
parts += testpg

[test]
eggs += psycopg2

[testpg]
<= test
environment = pgenv

[scripts]
eggs += psycopg2

[pgenv]
TEST_DSN = postgres:///zope_sqlalchemy_tests