2004-10-19 07:17:12 +04:00
|
|
|
[build_ext]
|
2009-04-20 22:34:06 +04:00
|
|
|
define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
|
2008-09-16 11:58:44 +04:00
|
|
|
|
2005-11-07 17:26:41 +03:00
|
|
|
# PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
|
|
|
|
# PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
|
2006-10-21 11:39:16 +04:00
|
|
|
# HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.4
|
2005-11-15 19:05:15 +03:00
|
|
|
# HAVE_PQPROTOCOL3 should be defined on PostgreSQL >= 7.4
|
2005-03-01 19:41:02 +03:00
|
|
|
# PSYCOPG_DEBUG can be added to enable verbose debug information
|
2005-11-15 19:05:15 +03:00
|
|
|
# PSYCOPG_OWN_QUOTING can be added, but it is deprecated (will go away in 2.1)
|
2006-04-24 09:42:02 +04:00
|
|
|
# PSYCOPG_NEW_BOOLEAN to format booleans as true/false vs 't'/'f'
|
2004-10-19 07:17:12 +04:00
|
|
|
|
2009-10-04 14:43:30 +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-12-11 11:05:49 +03:00
|
|
|
# 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=
|
|
|
|
|
2009-10-04 14:43:30 +04:00
|
|
|
# For Windows only:
|
|
|
|
# Set to 1 if the PostgreSQL library was built with OpenSSL.
|
|
|
|
# Required to link in OpenSSL libraries and dependencies.
|
2007-04-13 05:14:01 +04:00
|
|
|
have_ssl=0
|
|
|
|
|
2009-10-04 14:43:30 +04:00
|
|
|
# Statically link against the postgresql client library.
|
|
|
|
#static_libpq=1
|
|
|
|
|
2006-01-05 07:19:01 +03:00
|
|
|
# "pg_config" is the preferred method to locate PostgreSQL headers and
|
|
|
|
# libraries needed to build psycopg2. If pg_config is not in the path or
|
|
|
|
# is installed under a different name uncomment the following option and
|
|
|
|
# set it to the pg_config full path.
|
|
|
|
#pg_config=
|
|
|
|
|
|
|
|
# If "pg_config" is not available, "include_dirs" can be used to locate
|
|
|
|
# postgresql headers and libraries. 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:
|
2006-01-05 07:19:01 +03:00
|
|
|
#include_dirs=/usr/include/postgresql:/usr/include/postgresql/server
|
2005-11-29 14:50:43 +03:00
|
|
|
|
2005-10-25 20:00:49 +04:00
|
|
|
# Uncomment next line on Mandrake 10.x (and comment previous ones):
|
2006-01-05 07:19:01 +03:00
|
|
|
#include_dirs=/usr/include/pgsql/8.0:/usr/include/pgsql/8.0/server
|
2005-11-29 14:50:43 +03:00
|
|
|
|
2005-10-25 20:00:49 +04:00
|
|
|
# Uncomment next line on SUSE 9.3 (and comment previous ones):
|
2006-01-05 07:19:01 +03:00
|
|
|
#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
|
2006-01-03 12:23:48 +03:00
|
|
|
# path like /usr/lib), just add the right path in "library_dirs" and any extra
|
2005-06-17 19:47:22 +04:00
|
|
|
# libraries required to link in "libraries".
|
2006-01-03 12:23:48 +03:00
|
|
|
#library_dirs=
|
|
|
|
#libraries=
|