[Zodb-checkins] CVS: ZODB3 - setup.py:1.50.6.2
Jeremy Hylton
jeremy at zope.com
Tue Sep 23 16:21:54 EDT 2003
Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv30510
Modified Files:
Tag: Zope-2_7-branch
setup.py
Log Message:
Also copy the lone .sh file in zdaemon/tests.
=== ZODB3/setup.py 1.50.6.1 => 1.50.6.2 ===
--- ZODB3/setup.py:1.50.6.1 Mon Sep 15 17:26:49 2003
+++ ZODB3/setup.py Tue Sep 23 16:21:53 2003
@@ -171,7 +171,7 @@
"zdaemon/zdctl.py",
]
-def copy_conf_files(cmd, outputbase):
+def copy_other_files(cmd, outputbase):
for inputdir in [
os.path.join("ZConfig", "tests", "input"),
os.path.join("ZConfig", "tests", "library"),
@@ -181,12 +181,13 @@
"ZEO",
"ZODB",
"zdaemon",
+ os.path.join("zdaemon", "tests"),
"zLOG",
]:
outputdir = os.path.join(outputbase, inputdir)
if not os.path.exists(outputdir):
dir_util.mkpath(outputdir)
- for pattern in ("*.conf", "*.xml", "*.txt"):
+ for pattern in ("*.conf", "*.xml", "*.txt", "*.sh"):
for fn in glob.glob(os.path.join(inputdir, pattern)):
cmd.copy_file(fn, os.path.join(outputbase, fn))
@@ -200,12 +201,12 @@
def run(self):
install_lib.run(self)
- copy_conf_files(self, self.install_dir)
+ copy_other_files(self, self.install_dir)
class MyPyBuilder(build_py):
def build_packages(self):
build_py.build_packages(self)
- copy_conf_files(self, self.build_lib)
+ copy_other_files(self, self.build_lib)
class MyDistribution(Distribution):
# To control the selection of MyLibInstaller and MyPyBuilder, we
More information about the Zodb-checkins
mailing list