Mercurial > hg > autobot
view autobot/steps/virtualenv.py @ 289:754cda797873
update
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 15 Apr 2014 21:37:18 -0700 |
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)]