summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 741546ccf638c1293e29ac30d37cf07e6bff9ed8 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[build_ext]
define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
# PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
# PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
# HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.3
# HAVE_PQPROTOCOL3 should be defined on PostgreSQL >= 7.4
# PSYCOPG_DEBUG can be added to enable verbose debug information
# PSYCOPG_OWN_QUOTING can be added, but it is deprecated (will go away in 2.1)

# Set to 1 to use Python datatime objects for default date/time representation
use_pydatetime=1

# Set to 1 if you want to enable "Decimal" type on python 2.3. 
# If the "decimal" module is found in the PYTHONPATH it will be used, else
# fall back on the float type (this is disabled by default to be compatible
# with old versions of psycopg 1 and pre-beta versions of psycopg 2.)
use_decimal=0

# If the build system does not find the mx.DateTime headers, try 
# uncommenting the following line and setting its value to the right path.
#mx_include_dir=

# "include_dirs" is the preferred method for locating postgresql headers,
# but some extra checks on sys.platform will still be done in setup.py.
# The next line is the default as used on psycopg author Debian laptop:
include_dirs=.:/usr/include/postgresql:/usr/include/postgresql/server

# Uncomment next line on Mandrake 10.x (and comment previous ones):
#include_dirs=.:/usr/include/pgsql/8.0:/usr/include/pgsql/8.0/server 

# Uncomment next line on SUSE 9.3 (and comment previous ones):
#include_dirs=.:/usr/include/pgsql:/usr/include/pgsql/server

# If postgresql is installed somewhere weird (i.e., not in your runtime library
# path like /usr/lib), just add the right path in "library_dirs" any extra
# libraries required to link in "libraries".
library_dirs=
libraries=


# Windows-only definitions
# ------------------------

# The postgresql directory. It can be either the root of a source tree or the
# location of a binary installation
pgdir=C:\Program files\PostgreSQL\8.0
#pgdir=D:\postgresql-8.0.1

# Dynamically build against libpq.dll
use_pg_dll=0