[Buildbot-devel] python_twisted. RemovePYCs on windows

Dustin J. Mitchell dustin at v.igoro.us
Mon Jun 24 14:14:39 UTC 2013


On Mon, Jun 24, 2013 at 7:21 AM, Julia S.S. <hithwen at gmail.com> wrote:
> Hi,
> I have a buildbot master with a local slave running on ubuntu, now I'm in
> the process of adding a windows slave and I want to reuse as much code as
> possible.
> First in the face has been removePYCs steps which executes 'find' '.'
> '-name' '*.pyc' '-exec' 'rm' '{}' ';'
> it's platform agnostic. I see in the source that steps are defined in
> master, so is there a way to   make steps dependand on the slave they run or
> I should just write a new step with del /s *.pyc for the windows slave?

That comes back in the slave info (slave_system).  It's equal to "nt"
on Windows systems.

Dustin




More information about the devel mailing list