[Zodb-checkins] CVS: ZODB3/BDBStorage - __init__.py:1.8.6.4
Barry Warsaw
barry at zope.com
Mon Jul 28 19:05:34 EDT 2003
Update of /cvs-repository/ZODB3/BDBStorage
In directory cvs.zope.org:/tmp/cvs-serv27417
Modified Files:
Tag: ZODB3-3_1-branch
__init__.py
Log Message:
Update some comments
=== ZODB3/BDBStorage/__init__.py 1.8.6.3 => 1.8.6.4 ===
--- ZODB3/BDBStorage/__init__.py:1.8.6.3 Mon Jan 27 18:19:01 2003
+++ ZODB3/BDBStorage/__init__.py Mon Jul 28 18:05:29 2003
@@ -12,13 +12,11 @@
#
##############################################################################
-# Python 2.2 and earlier requires the pybsddb distutils package, but for
-# Python 2.3, we really want to use the standard bsddb package. Also, we want
-# to set a flag that other modules can easily tests to see if this stuff is
-# available or not. Python 2.2 and 2.3 has bool() but not Python 2.1.
+# Requirements:
#
-# Get the pybsddb extension module from pybsddb.sourceforge.net and the
-# BerkeleyDB libraries from www.sleepycat.com.
+# All: BerkeleyDB 4.1.25, available from www.sleepycat.com
+# Python 2.2, 2.1: PyBSDDB 4.1.3 or better, from pybsddb.sf.net
+# Python 2.3: nothing extra
try:
bool
@@ -34,6 +32,7 @@
except ImportError:
db = None
+# This flag tells other components whether Berkeley storage is available
is_available = bool(db)
# Useful constants
More information about the Zodb-checkins
mailing list