Skip to content

Instantly share code, notes, and snippets.

@yumike
Created February 8, 2011 09:12
Show Gist options
  • Save yumike/816156 to your computer and use it in GitHub Desktop.
Save yumike/816156 to your computer and use it in GitHub Desktop.
from snake import *
@task
@depends_on('virtualenv.create', 'install')
def init():
pass
@task
def install():
sh('pip install -e .')
with namespace('virtualenv'):
@task
def create():
sh('virtualenv --no-site-packages --distribute .')
@task
def destroy():
sh('rm -rf bin include lib src')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment