Mercurial > hg > autobot
view autobot/steps/virtualenv.py @ 255:854af94783ae
what i actually meant
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 28 Dec 2011 12:08:31 -0800 |
parents | d94fbaac7c2c |
children |
line wrap: on
line source
""" steps related to virtualenvs """ from buildbot.process.properties import WithProperties from buildbot.steps.shell import ShellCommand class CreateVirtualenv(ShellCommand): """create a virtualenv""" # XXX needs to have virtualenv installed (on the slave) def __init__(self, directory, **kw): ShellCommand.__init__(self, **kw) self.addFactoryArguments(directory=directory) self.command = ['virtualenv', WithProperties(directory)]