2004-10-19 07:17:12 +04:00
|
|
|
[build_ext]
|
2005-04-25 08:58:38 +04:00
|
|
|
define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
|
2005-03-01 19:41:02 +03:00
|
|
|
# PSYCOPG_DEBUG can be added to enable verbose debug information
|
2004-10-19 07:17:12 +04:00
|
|
|
# PSYCOPG_OWN_QUOTING can be added above but it is deprecated
|
|
|
|
|
2005-10-18 18:20:27 +04:00
|
|
|
# Set to 1 to use Python datatime objects for default date/time representation
|
2005-05-26 11:41:39 +04:00
|
|
|
use_pydatetime=1
|
2005-04-10 07:05:39 +04:00
|
|
|
|
2005-11-03 04:35:17 +03:00
|
|
|
# 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.
|
|
|
|
use_decimal=0
|
|
|
|
|
2005-10-18 18:20:27 +04:00
|
|
|
# "include_dirs" is the preferred method for locating postgresql headers,
|
2005-06-17 19:47:22 +04:00
|
|
|
# but some extra checks on sys.platform will still be done in setup.py.
|
2005-10-18 18:20:27 +04:00
|
|
|
# The next line is the default as used on psycopg author Debian laptop:
|
|
|
|
include_dirs=.:/usr/include/postgresql:/usr/include/postgresql/server
|
2005-10-25 20:00:49 +04:00
|
|
|
# Uncomment next line on Mandrake 10.x (and comment previous ones):
|
2005-09-12 06:23:17 +04:00
|
|
|
#include_dirs=.:/usr/include/pgsql/8.0:/usr/include/pgsql/8.0/server
|
2005-10-25 20:00:49 +04:00
|
|
|
# Uncomment next line on SUSE 9.3 (and comment previous ones):
|
|
|
|
#include_dirs=.:/usr/include/pgsql:/usr/include/pgsql/server
|
2004-10-19 07:17:12 +04:00
|
|
|
|
2005-10-18 18:20:27 +04:00
|
|
|
# If postgresql is installed somewhere weird (i.e., not in your runtime library
|
2005-06-17 19:47:22 +04:00
|
|
|
# path like /usr/lib), just add the right path in "library_dir" any extra
|
|
|
|
# libraries required to link in "libraries".
|
2004-10-19 07:17:12 +04:00
|
|
|
#library_dirs=
|
2005-05-25 10:34:56 +04:00
|
|
|
#libraries=
|
|
|
|
|
2005-04-10 07:05:39 +04:00
|
|
|
|
|
|
|
# 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
|