File: postgres.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-- 687 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 = buildout.cfg
find-links = http://initd.org/pub/software/psycopg/
parts +=
    testpg
    testpg2

[testpg]
<= test
eggs += psycopg2
environment = pgenv

[testpg2]
<= testpg
environment = pgenv2

[scripts]
eggs += psycopg2

[pgenv]
TEST_DSN = postgresql+psycopg2:///zope_sqlalchemy_tests

[pgenv2]
<= pgenv
TEST_TWOPHASE=True