[Buildbot-devel] Error when building from trunk

Brian Warner warner-buildbot at lothar.com
Tue Oct 3 17:23:32 UTC 2006


> I've been working off of trunk for a week or so now and every time I build
> from that tree I get a warning or error of sorts:

Oops.. good catch. I've just pushed a patch (attached) to fix this.

thanks!
 -Brian

-------------- next part --------------
Tue Oct  3 10:13:27 PDT 2006  warner at lothar.com
  * setup.py: fix build/install errors involving unit test data files
diff -rN -u old-misc/setup.py new-misc/setup.py
--- old-misc/setup.py	2006-10-03 10:22:29.000000000 -0700
+++ new-misc/setup.py	2006-10-03 10:22:29.000000000 -0700
@@ -41,7 +41,8 @@
 for f in os.listdir("buildbot/test/mail"):
     if f.endswith("~"):
         continue
-    testmsgs.append("buildbot/test/mail/%s" % f)
+    if f.startswith("msg") or f.startswith("syncmail"):
+        testmsgs.append("buildbot/test/mail/%s" % f)
 
 setup(name="buildbot",
       version=version,
@@ -71,13 +72,13 @@
                 "buildbot.slave",
                 "buildbot.scripts",
                 "buildbot.test",
-                "buildbot.test.subdir",
                 ],
       data_files=[("buildbot", ["buildbot/buildbot.png"]),
                   ("buildbot/clients", ["buildbot/clients/debug.glade"]),
                   ("buildbot/status", ["buildbot/status/classic.css"]),
                   ("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),
                   ("buildbot/test/mail", testmsgs),
+                  ("buildbot/test/subdir", ["buildbot/test/subdir/emit.py"]),
                   ],
       scripts = scripts,
       cmdclass={'install_data': install_data_twisted},



More information about the devel mailing list