from fabric.api import local, cd

def docs():
    local("./bin/docs")
    local("./bin/python setup.py upload_sphinx --upload-dir=docs/html")

def release():
    # update version id in setup.py, changelog and docs/source/conf.py
    local("python setup.py sdist --formats=gztar,zip upload")

#!/usr/bin/env python3
# -*- coding: utf-8 -*-


from fabric.api import local, cd


def docs():
    local("./bin/docs")
    local("./bin/python setup.py upload_sphinx --upload-dir=docs/html")


def release():
    """Update version id in setup.py, changelog and docs/source/conf.py."""
    local(("python setup.py bdist_egg sdist --formats=bztar,gztar,zip "
           "upload --show-response"))

Add BzTar and EGG format to Fabric script
Add BzTar and EGG format to Fabric script
