File: postgres20.cfg

package info (click to toggle)
zope.sqlalchemy 3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: python: 981; makefile: 8
file content (29 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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 = postgres.cfg
parts +=
    testpg3
    testpg32

[testpg3]
<= test
eggs += psycopg[c]
environment = pgenv3

[testpg32]
<= testpg3
environment = pgenv32

[scripts]
eggs +=
    psycopg[c]

[pgenv3]
TEST_DSN = postgresql+psycopg:///zope_sqlalchemy_tests

[pgenv32]
<= pgenv3
TEST_TWOPHASE=True