[Python-3000-checkins] r57938 - python/branches/py3k/setup.py
matthias.klose
python-3000-checkins at python.org
Tue Sep 4 01:44:29 CEST 2007
Author: matthias.klose
Date: Tue Sep 4 01:44:29 2007
New Revision: 57938
Modified:
python/branches/py3k/setup.py
Log:
- Add support for linking the bsddb module against BerkeleyDB 4.6.x.
Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py (original)
+++ python/branches/py3k/setup.py Tue Sep 4 01:44:29 2007
@@ -635,7 +635,7 @@
# 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?
@@ -653,7 +653,7 @@
'/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)
@@ -678,7 +678,7 @@
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):
More information about the Python-3000-checkins
mailing list