summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-19 08:30:08 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-19 08:30:08 (GMT)
commit21645fc073c541ed4f223d98313629de4a27ce9a (patch)
tree39e58deae9c404d048cac7b8d4595d4aeb95ca9a /setup.py
parentef546b347d8e2ca87d8a518361f017efdc0725a8 (diff)
downloadcpython-21645fc073c541ed4f223d98313629de4a27ce9a.zip
cpython-21645fc073c541ed4f223d98313629de4a27ce9a.tar.gz
cpython-21645fc073c541ed4f223d98313629de4a27ce9a.tar.bz2
Don't try to use unsupported DB versions.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index c94df0b..f471c03 100644
--- a/setup.py
+++ b/setup.py
@@ -439,21 +439,15 @@ class PyBuildExt(build_ext):
# when sorted in reverse order, keys for this dict must appear in the
# order you wish to search - e.g., search for db4 before db3
db_try_this = {
- 'db4': {'libs': ('db-4.3', 'db-4.2', 'db-4.1', 'db-4.0'),
- 'libdirs': ('/usr/local/BerkeleyDB.4.3/lib',
- '/usr/local/BerkeleyDB.4.2/lib',
- '/usr/local/BerkeleyDB.4.1/lib',
- '/usr/local/BerkeleyDB.4.0/lib',
+ 'db4': {'libs': ('db-4.0',),
+ 'libdirs': ('/usr/local/BerkeleyDB.4.0/lib',
'/usr/local/lib',
'/usr/lib',
'/opt/sfw',
'/sw/lib',
'/lib',
),
- 'incdirs': ('/usr/local/BerkeleyDB.4.3/include',
- '/usr/local/BerkeleyDB.4.2/include',
- '/usr/local/BerkeleyDB.4.1/include',
- '/usr/local/BerkeleyDB.4.0/include',
+ 'incdirs': ('/usr/local/BerkeleyDB.4.0/include',
'/usr/local/include/db4',
'/opt/sfw/include/db4',
'/sw/include/db4',