summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2007-01-05 01:59:42 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2007-01-05 01:59:42 (GMT)
commit8b96a35d14c0ec5db5f32321e544269a5b0a8759 (patch)
treee34f90949bb24daab02c775616f5e96875f1da5a /setup.py
parent7b7c9d420817e5ffb5fd3adbc19a9be4ba0f4604 (diff)
downloadcpython-8b96a35d14c0ec5db5f32321e544269a5b0a8759.zip
cpython-8b96a35d14c0ec5db5f32321e544269a5b0a8759.tar.gz
cpython-8b96a35d14c0ec5db5f32321e544269a5b0a8759.tar.bz2
Support linking of the bsddb module against BerkeleyDB 4.5.x
(will backport to 2.5)
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 bf649fe..c1d5f00 100644
--- a/setup.py
+++ b/setup.py
@@ -606,7 +606,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, 4)
+ max_db_ver = (4, 5)
min_db_ver = (3, 3)
db_setup_debug = False # verbose debug prints from this script?
@@ -623,7 +623,7 @@ class PyBuildExt(build_ext):
'/sw/include/db3',
]
# 4.x minor number specific paths
- for x in (0,1,2,3,4):
+ for x in (0,1,2,3,4,5):
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)
@@ -631,7 +631,7 @@ class PyBuildExt(build_ext):
db_inc_paths.append('/pkg/db-4.%d/include' % x)
db_inc_paths.append('/opt/db-4.%d/include' % x)
# 3.x minor number specific paths
- for x in (2,3):
+ for x in (3,):
db_inc_paths.append('/usr/include/db3%d' % x)
db_inc_paths.append('/usr/local/BerkeleyDB.3.%d/include' % x)
db_inc_paths.append('/usr/local/include/db3%d' % x)