Skip to content
Myr

Merge pull request #250 from wilsaj/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Deploying with Fabric fabfile bugfix

authored by Ron DuPlain · committed by Ron DuPlain · parents e6b9f50, c40937e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/fabric.rst+1 added-1 removed
46 unmodified lines
47 local('python setup.py sdist --formats=gztar', capture=False)4849 def deploy():50 # figure out the release name and version51 dist = local('python setup.py --fullname').strip()51 dist = local('python setup.py --fullname', capture=True).strip()52 # upload the source tarball to the temporary folder on the server53 put('dist/%s.tar.gz' % dist, '/tmp/yourapplication.tar.gz')54 # create a place where we can unzip the tarball, then enter55 # that directory and unzip it
141 unmodified lines