view autobot/steps/virtualenv.py @ 302:8bc0160993a2

remove reference to autolog
author Jeff Hammel <k0scist@gmail.com>
date Sun, 11 May 2014 09:53:00 -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)]