diff options
author | Federico Di Gregorio <fog@initd.org> | 2005-11-03 01:35:17 +0000 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2005-11-03 01:35:17 +0000 |
commit | f03b94d84b93ef154bed3d8064b56fef9e0ead12 (patch) | |
tree | ea56e3412f09c59f8624064b2c29cae572c72a33 /setup.cfg | |
parent | d67b171eede2c1749f28db93c9663badd399480e (diff) | |
download | psycopg2-f03b94d84b93ef154bed3d8064b56fef9e0ead12.tar.gz |
Run-time check for Decimal on Python 2.3.
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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: |