Exemplo n.º 1
0
def install():
    """installs the latest built module"""
    tarballs = sorted(path("dist").listdir("*.tar.gz"))
    if not tarballs:
        build()
        tarballs = sorted(path("dist").listdir("*.tar.gz"))
    latest = tarballs[-1]
    shell("easy_install --upgrade %s" % latest)
Exemplo n.º 2
0
def install():
    """installs the latest built module"""
    tarballs = sorted(path("dist").listdir("*.tar.gz"))
    if not tarballs:
        build()
        tarballs = sorted(path("dist").listdir("*.tar.gz"))
    latest = tarballs[-1]
    shell("easy_install --upgrade %s" % latest)
Exemplo n.º 3
0
def build():
    """builds everything into a source distribution"""
    shell("python setup.py sdist")
Exemplo n.º 4
0
def release():
    """releases this code + documentation to pypi"""
    shell("python setup.py register")
    shell("python setup.py sdist upload")
Exemplo n.º 5
0
def release():
    """releases this code + documentation to pypi"""
    shell("python setup.py register")
    shell("python setup.py sdist upload")
Exemplo n.º 6
0
def build():
    """builds everything into a source distribution"""
    shell("python setup.py sdist")