[Zodb-checkins] CVS: StandaloneZODB - setup.py:1.13
Fred L. Drake, Jr.
fdrake@acm.org
Wed, 6 Mar 2002 08:41:00 -0500
Update of /cvs-repository/StandaloneZODB
In directory cvs.zope.org:/tmp/cvs-serv30923
Modified Files:
setup.py
Log Message:
XXX comment explaining why the way we determine whether bsddb3Storage is
included is probably a bad idea. We can talk about it at the meeting.
=== StandaloneZODB/setup.py 1.12 => 1.13 ===
]
+# XXX This doesn't work for source distributions; we need a better way
+# to spell things like this in distutils. Like this, the
+# bsddb3Storage package isn't included in the source distribution.
+# Either this test only makes sense for inclusion in binary releases,
+# or these packages should always be included and client code should
+# test for bsddb3 before expecting this to work; they'll get an
+# ImportError if it's not there.
+#
try:
import bsddb3
except ImportError: