@task
def pip(packages):
 with virtualenv():
  return run((u'pip install %s' % packages))

@ task def pip ( packages ) : with virtualenv ( ) : return run ( ( u'pip install %s' % packages ) )
require pip_ to be installed .