[Buildbot-commits] buildbot/buildbot/process process_twisted.py,1.35,1.36

Brian Warner warner at users.sourceforge.net
Sun Apr 17 12:17:53 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18508/buildbot/process

Modified Files:
	process_twisted.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-40
Creator:  Brian Warner <warner at monolith.lothar.com>

accomodate Twisted split, setup.py now takes a sub-project name


Index: process_twisted.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/process_twisted.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- process_twisted.py	15 Nov 2004 09:26:29 -0000	1.35
+++ process_twisted.py	17 Apr 2005 12:17:51 -0000	1.36
@@ -47,7 +47,7 @@
         self.steps.append(s(HLint, python=python[0]))
         self.steps.append(s(RemovePYCs))
         for p in python:
-            cmd = "%s setup.py build_ext -i" % p
+            cmd = [p, "setup.py", "all", "build_ext", "-i"]
             self.steps.append(s(step.Compile, command=cmd,
                                 flunkOnFailure=True))
             self.steps.append(s(TwistedTrial,
@@ -70,7 +70,7 @@
             python = [python]
         assert type(compileOpts) is list
         assert type(compileOpts2) is list
-        cmd = (python + compileOpts + ["setup.py", "build_ext"]
+        cmd = (python + compileOpts + ["setup.py", "all", "build_ext"]
                + compileOpts2 + ["-i"])
 
         self.steps.append(s(step.Compile, command=cmd, flunkOnFailure=True))
@@ -100,7 +100,7 @@
             python = [python]
         assert type(compileOpts) is list
         assert type(compileOpts2) is list
-        cmd = (python + compileOpts + ["setup.py", "build_ext"]
+        cmd = (python + compileOpts + ["setup.py", "all", "build_ext"]
                + compileOpts2 + ["-i"])
 
         self.steps.append(s(step.Compile, command=cmd, warnOnFailure=True))





More information about the Commits mailing list