mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Add BerkeleyDB 4.2 to the library search for the bsddb module.
This commit is contained in:
parent
e94040a1ed
commit
125188cabf
1 changed files with 11 additions and 4 deletions
15
setup.py
15
setup.py
|
|
@ -468,22 +468,29 @@ class PyBuildExt(build_ext):
|
||||||
# Sleepycat Berkeley DB interface. http://www.sleepycat.com
|
# Sleepycat Berkeley DB interface. http://www.sleepycat.com
|
||||||
#
|
#
|
||||||
# This requires the Sleepycat DB code. The earliest supported version
|
# This requires the Sleepycat DB code. The earliest supported version
|
||||||
# of that library is 3.0, the latest supported version is 4.1. A list
|
# of that library is 3.1, the latest supported version is 4.2. A list
|
||||||
# of available releases can be found at
|
# of available releases can be found at
|
||||||
#
|
#
|
||||||
# http://www.sleepycat.com/update/index.html
|
# http://www.sleepycat.com/update/index.html
|
||||||
|
#
|
||||||
|
# NOTE: 3.1 is only partially supported; expect the extended bsddb module
|
||||||
|
# test suite to show failures due to some missing methods and behaviours
|
||||||
|
# in BerkeleyDB 3.1.
|
||||||
|
|
||||||
# when sorted in reverse order, keys for this dict must appear in the
|
# 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
|
# order you wish to search - e.g., search for db4 before db3
|
||||||
db_try_this = {
|
db_try_this = {
|
||||||
'db4': {'libs': ('db-4.1', 'db41', 'db-4.0', 'db4',),
|
'db4': {'libs': ('db-4.2', 'db42', 'db-4.1', 'db41', 'db-4.0', 'db4',),
|
||||||
'libdirs': ('/usr/local/BerkeleyDB.4.1/lib',
|
'libdirs': ('/usr/local/BerkeleyDB.4.2/lib',
|
||||||
|
'/usr/local/BerkeleyDB.4.1/lib',
|
||||||
'/usr/local/BerkeleyDB.4.0/lib',
|
'/usr/local/BerkeleyDB.4.0/lib',
|
||||||
'/usr/local/lib',
|
'/usr/local/lib',
|
||||||
'/opt/sfw',
|
'/opt/sfw',
|
||||||
'/sw/lib',
|
'/sw/lib',
|
||||||
),
|
),
|
||||||
'incdirs': ('/usr/local/BerkeleyDB.4.1/include',
|
'incdirs': ('/usr/local/BerkeleyDB.4.2/include',
|
||||||
|
'/usr/local/include/db42',
|
||||||
|
'/usr/local/BerkeleyDB.4.1/include',
|
||||||
'/usr/local/include/db41',
|
'/usr/local/include/db41',
|
||||||
'/usr/local/BerkeleyDB.4.0/include',
|
'/usr/local/BerkeleyDB.4.0/include',
|
||||||
'/usr/local/include/db4',
|
'/usr/local/include/db4',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue