summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-11-03 01:35:17 +0000
committerFederico Di Gregorio <fog@initd.org>2005-11-03 01:35:17 +0000
commitf03b94d84b93ef154bed3d8064b56fef9e0ead12 (patch)
treeea56e3412f09c59f8624064b2c29cae572c72a33 /setup.cfg
parentd67b171eede2c1749f28db93c9663badd399480e (diff)
downloadpsycopg2-f03b94d84b93ef154bed3d8064b56fef9e0ead12.tar.gz
Run-time check for Decimal on Python 2.3.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 4d5b98c..0bb03d1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,6 +6,11 @@ define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
# 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.
+use_decimal=0
+
# "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: