]> granicus.if.org Git - python/commitdiff
the bsddb module now also works with BerkeleyDB 4.3.
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 13 Dec 2004 09:57:32 +0000 (09:57 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 13 Dec 2004 09:57:32 +0000 (09:57 +0000)
Doc/lib/libbsddb.tex
setup.py

index a25d39b98b73e596279c9cce85e673161fdf3d1e..b597958696cd4cef785f2a72cce8fe09061457a8 100644 (file)
@@ -16,7 +16,7 @@ serialize them somehow, typically using marshal.dumps or pickle.dumps.
 
 Starting with Python 2.3 the \module{bsddb} module requires the
 Berkeley DB library version 3.2 or later (it is known to work with 3.2
-thru 4.2 at the time of this writing).
+thru 4.3 at the time of this writing).
 
 \begin{seealso}
   \seeurl{http://pybsddb.sourceforge.net/}{Website with documentation
index 807cd594681d44f7914df9157d873c2825f1f4eb..16448c6c50fa06350d77d052a2e9faca5f2e9317 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -492,7 +492,7 @@ class PyBuildExt(build_ext):
         # Sleepycat Berkeley DB interface.  http://www.sleepycat.com
         #
         # This requires the Sleepycat DB code. The earliest supported version
-        # of that library is 3.2, the latest supported version is 4.2.  A list
+        # of that library is 3.2, the latest supported version is 4.3.  A list
         # of available releases can be found at
         #
         # http://www.sleepycat.com/update/index.html
@@ -500,15 +500,18 @@ 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.2', 'db42', 'db-4.1', 'db41', 'db-4.0', 'db4',),
-                    'libdirs': ('/usr/local/BerkeleyDB.4.2/lib',
+            'db4': {'libs': ('db-4.3', 'db43', 'db-4.2', 'db42', 'db-4.1', 'db41', 'db-4.0', 'db4',),
+                    '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',
                                 '/usr/local/lib',
                                 '/opt/sfw',
                                 '/sw/lib',
                                 ),
-                    'incdirs': ('/usr/local/BerkeleyDB.4.2/include',
+                    'incdirs': ('/usr/local/BerkeleyDB.4.3/include',
+                                '/usr/local/include/db43',
+                                '/usr/local/BerkeleyDB.4.2/include',
                                 '/usr/local/include/db42',
                                 '/usr/local/BerkeleyDB.4.1/include',
                                 '/usr/local/include/db41',