diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-03-04 11:44:57 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-03-04 11:44:57 -0800 |
commit | fac6cde8743d73bfce200062da1bbf5e05a74742 (patch) | |
tree | 7fcc75d1f8ed456660c2d954b268f27e0354974f /fabfile.py | |
parent | 0965eaa65d194244b594f7098eb5192a2bbf8484 (diff) | |
parent | 72a73f55fae697fe3b940f378664a7c58214647f (diff) |
Merge branch '1.11' into 1.12
Conflicts:
paramiko/hostkeys.py
Diffstat (limited to 'fabfile.py')
-rw-r--r-- | fabfile.py | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/fabfile.py b/fabfile.py deleted file mode 100644 index 7883daba..00000000 --- a/fabfile.py +++ /dev/null @@ -1,39 +0,0 @@ -from fabric.api import task, sudo, env, local, hosts -from fabric.contrib.project import rsync_project -from fabric.contrib.console import confirm - - -@task -@hosts("paramiko.org") -def upload_docs(): - target = "/var/www/paramiko.org" - staging = "/tmp/paramiko_docs" - sudo("mkdir -p %s" % staging) - sudo("chown -R %s %s" % (env.user, staging)) - sudo("rm -rf %s/*" % target) - rsync_project(local_dir='docs/', remote_dir=staging, delete=True) - sudo("cp -R %s/* %s/" % (staging, target)) - -@task -def build_docs(): - local("epydoc --no-private -o docs/ paramiko") - -@task -def clean(): - local("rm -rf build dist docs") - local("rm -f MANIFEST *.log demos/*.log") - local("rm -f paramiko/*.pyc") - local("rm -f test.log") - local("rm -rf paramiko.egg-info") - -@task -def test(): - local("python ./test.py") - -@task -def release(): - confirm("Only hit Enter if you remembered to update the version!") - confirm("Also, did you remember to tag your release?") - build_docs() - local("python setup.py sdist register upload") - upload_docs() |