diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2004-12-13 09:57:32 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2004-12-13 09:57:32 (GMT) |
commit | 7af53a6de429ef7501f860e3cc2a085c378bcef9 (patch) | |
tree | 8d1e5fdd577d5e87e7c948ef12838c184de3f635 /setup.py | |
parent | 8b7e917ab2865f86d09515b8d098950aece0e14c (diff) | |
download | cpython-7af53a6de429ef7501f860e3cc2a085c378bcef9.zip cpython-7af53a6de429ef7501f860e3cc2a085c378bcef9.tar.gz cpython-7af53a6de429ef7501f860e3cc2a085c378bcef9.tar.bz2 |
the bsddb module now also works with BerkeleyDB 4.3.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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', |