

@roles('eggserver')
def deploy():
    local('rm -rf dist/*')
    local('python setup.py sdist')
    dist_files = os.listdir('dist')
    filename = dist_files[0]
    local_filename = ('dist/%s' % filename)
    remote_filename = ('/home/localbase/webapps/eggs/%s' % filename)
    put(local_filename, remote_filename)

dataset/ETHPy150Open robmadole/django-depiction/fabfile.py deploy/original