summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2007-09-03 23:33:04 (GMT)
committerMatthias Klose <doko@ubuntu.com>2007-09-03 23:33:04 (GMT)
commit691632f14d4c9ebf0703ccbf7aa9f37ca8df982d (patch)
treea700bfb76cbedc534283dc985fedf45b948d90e9 /setup.py
parent4cdceac76031a7b29f8b60dcffc57744b84f4db3 (diff)
downloadcpython-691632f14d4c9ebf0703ccbf7aa9f37ca8df982d.zip
cpython-691632f14d4c9ebf0703ccbf7aa9f37ca8df982d.tar.gz
cpython-691632f14d4c9ebf0703ccbf7aa9f37ca8df982d.tar.bz2
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 7a02884..11c6fa3 100644
--- a/setup.py
+++ b/setup.py
@@ -666,7 +666,7 @@ class PyBuildExt(build_ext):
# a release. Most open source OSes come with one or more
# versions of BerkeleyDB already installed.
- max_db_ver = (4, 5)
+ max_db_ver = (4, 6)
min_db_ver = (3, 3)
db_setup_debug = False # verbose debug prints from this script?
@@ -684,7 +684,7 @@ class PyBuildExt(build_ext):
'/sw/include/db3',
]
# 4.x minor number specific paths
- for x in (0,1,2,3,4,5):
+ for x in (0,1,2,3,4,5,6):
db_inc_paths.append('/usr/include/db4%d' % x)
db_inc_paths.append('/usr/include/db4.%d' % x)
db_inc_paths.append('/usr/local/BerkeleyDB.4.%d/include' % x)
@@ -709,7 +709,7 @@ class PyBuildExt(build_ext):
for dn in inc_dirs:
std_variants.append(os.path.join(dn, 'db3'))
std_variants.append(os.path.join(dn, 'db4'))
- for x in (0,1,2,3,4):
+ for x in (0,1,2,3,4,5,6):
std_variants.append(os.path.join(dn, "db4%d"%x))
std_variants.append(os.path.join(dn, "db4.%d"%x))
for x in (2,3):