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

Fred L. Drake, Jr. fred@zope.com
Fri, 3 Jan 2003 17:50:43 -0500


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

Modified Files:
	setup.py 
Log Message:
Make sure the XML files are copied as well as the test configurations.


=== ZODB3/setup.py 1.30 => 1.31 ===
--- ZODB3/setup.py:1.30	Fri Jan  3 17:06:27 2003
+++ ZODB3/setup.py	Fri Jan  3 17:50:40 2003
@@ -170,7 +170,9 @@
     outputdir = os.path.join(outputbase, inputdir)
     if not os.path.exists(outputdir):
         dir_util.mkpath(outputdir)
-    for fn in glob.glob(os.path.join(inputdir, "*.conf")):
+    files = (glob.glob(os.path.join(inputdir, "*.conf"))
+             + glob.glob(os.path.join(inputdir, "*.xml")))
+    for fn in files:
         cmd.copy_file(fn, os.path.join(outputbase, fn))
 
     fn = os.path.join("ZODB", "config.xml")