[Zope-Checkins] CVS: Zope3/lib/python/Persistence - setup.py:1.1.2.2

Jeremy Hylton jeremy@zope.com
Wed, 20 Feb 2002 19:02:25 -0500


Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv24467/Persistence

Modified Files:
      Tag: Zope-3x-branch
	setup.py 
Log Message:
Build the BTrees modules too.



=== Zope3/lib/python/Persistence/setup.py 1.1.2.1 => 1.1.2.2 ===
+
+oob = Extension(name = "BTrees._OOBTree",
+                include_dirs = ["."],
+                sources = ['BTrees/_OOBTree.c'],
+                )
+
+oib = Extension(name = "BTrees._OIBTree",
+                include_dirs = ["."],
+                sources = ['BTrees/_OIBTree.c'],
+                )
+
+iib = Extension(name = "BTrees._IIBTree",
+                include_dirs = ["."],
+                sources = ['BTrees/_IIBTree.c'],
+                define_macros = [('EXCLUDE_INTSET_SUPPORT', None)],
+                )
+
+iob = Extension(name = "BTrees._IOBTree",
+                include_dirs = ["."],
+                sources = ['BTrees/_IOBTree.c'],
+                define_macros = [('EXCLUDE_INTSET_SUPPORT', None)],
+                )
+
+fsb = Extension(name = "BTrees._fsBTree",
+                include_dirs = ["."],
+                sources = ['BTrees/_fsBTree.c'],
+                define_macros = [('EXCLUDE_INTSET_SUPPORT', None)],
+                )
+
 setup(
     name="Persistence",
     version="XXX",
-    ext_modules=[Extension("cPersistence", ["cPersistence.c"])]
+    ext_modules=[Extension("cPersistence", ["cPersistence.c"]),
+                 oob, oib, iib, iob, fsb]
     )