from paver.easy import sh, task
import os


@task
def build():
    if os.path.exists('./build'):
        sh('rm -rf ./build')

    script = '''
        mkdir ./build
        cp -rf ./src/* ./build/
        (cd ./build; python setup.py sdist bdist_wheel)
    '''

    sh(script)


@task
def deploy():
    script = '''
        twine upload ./build/dist/*
    '''

    sh(script)

4b1e091a9b31b26b98e2ec9d6157f8d037176cda
<mask token>

<mask token>


@task
def deploy():
    script = """
        twine upload ./build/dist/*
    """
    sh(script)

<mask token>


@task
def build():
    if os.path.exists('./build'):
        sh('rm -rf ./build')
    script = """
        mkdir ./build
        cp -rf ./src/* ./build/
        (cd ./build; python setup.py sdist bdist_wheel)
    """
    sh(script)


@task
def deploy():
    script = """
        twine upload ./build/dist/*
    """
    sh(script)

from paver.easy import sh, task
import os


@task
def build():
    if os.path.exists('./build'):
        sh('rm -rf ./build')
    script = """
        mkdir ./build
        cp -rf ./src/* ./build/
        (cd ./build; python setup.py sdist bdist_wheel)
    """
    sh(script)


@task
def deploy():
    script = """
        twine upload ./build/dist/*
    """
    sh(script)

from paver.easy import sh, task
import os


@task
def build():
    if os.path.exists('./build'):
        sh('rm -rf ./build')

    script = '''
        mkdir ./build
        cp -rf ./src/* ./build/
        (cd ./build; python setup.py sdist bdist_wheel)
    '''

    sh(script)


@task
def deploy():
    script = '''
        twine upload ./build/dist/*
    '''

    sh(script)
