[Zodb-checkins] CVS: ZODB3 - setup.py:1.36

Fred L. Drake, Jr. fred@zope.com
Fri, 10 Jan 2003 01:45:21 -0500


Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv17477

Modified Files:
	setup.py 
Log Message:
Reorganize the schema support so we can actually use the revised component
import to load the database and storage types.


=== ZODB3/setup.py 1.35 => 1.36 ===
--- ZODB3/setup.py:1.35	Thu Jan  9 15:38:49 2003
+++ ZODB3/setup.py	Fri Jan 10 01:44:48 2003
@@ -180,11 +180,13 @@
             for fn in glob.glob(os.path.join(inputdir, pattern)):
                 cmd.copy_file(fn, os.path.join(outputbase, fn))
 
-    fn = os.path.join("ZODB", "config.xml")
-    cmd.copy_file(fn, os.path.join(outputbase, fn))
-
-    fn = os.path.join("ZEO", "schema.xml")
-    cmd.copy_file(fn, os.path.join(outputbase, fn))
+    for parts in [
+        ("ZODB", "component.xml"),
+        ("ZODB", "config.xml"),
+        ("ZEO", "schema.xml"),
+        ]:
+        fn = os.path.join(*parts)
+        cmd.copy_file(fn, os.path.join(outputbase, fn))
 
 class MyLibInstaller(install_lib):
     """Custom library installer, used to put hosttab in the right place."""