[Zope3-checkins] CVS: Zope3 - setup.py:1.24

Jim Fulton jim@zope.com
Thu, 8 May 2003 16:40:15 -0400


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv1687

Modified Files:
	setup.py 
Log Message:
Renamed the extension modules in zodb.btrees to avoid dynamic library
name conflicts with extensions in Zope 2.  Some dynamic linkers can't
tell the difference between _OOBTrees.so in the BTrees package and
_OOBTrees.so in the zodb.btrees package.


=== Zope3/setup.py 1.23 => 1.24 ===
--- Zope3/setup.py:1.23	Thu May  8 06:56:58 2003
+++ Zope3/setup.py	Thu May  8 16:39:44 2003
@@ -193,8 +193,8 @@
 def BTreeExtension(flavor):
     key = flavor[0]
     value = flavor[1]
-    name = "zodb.btrees._%sBTree" % flavor
-    sources = ["src/zodb/btrees/_%sBTree.c" % flavor]
+    name = "zodb.btrees._zodb_btrees_%sBTree" % flavor
+    sources = ["src/zodb/btrees/_zodb_btrees_%sBTree.c" % flavor]
     kwargs = {"include_dirs": include_dirs}
     if flavor != "fs":
         kwargs["depends"] = (base_btrees_depends + [KEY_H % _flavors[key],