예제 #1
0
파일: flow.py 프로젝트: imoapps/changes
def perform_release(context):
    """Executes the release process."""
    try:
        run_tests()

        if not context.skip_changelog:
            generate_changelog(context)
        increment_version(context)

        build_package(context)
        install_package(context)
        upload_package(context)
        install_from_pypi(context)

        commit_version_change(context)
        tag_and_push(context)
    except:
        log.exception('Error releasing')
예제 #2
0
def perform_release(context):
    """Executes the release process."""
    try:
        run_tests()

        if not context.skip_changelog:
            generate_changelog(context)

        increment_version(context)

        build_distributions(context)

        install_package(context)

        upload_package(context)

        install_from_pypi(context)

        publish(context)
    except Exception:
        log.exception('Error releasing')
예제 #3
0
def perform_release(context):
    """Executes the release process."""
    try:
        run_tests()

        if not context.skip_changelog:
            generate_changelog(context)

        increment_version(context)

        build_distributions(context)

        install_package(context)

        upload_package(context)

        install_from_pypi(context)

        publish(context)
    except Exception:
        log.exception('Error releasing')
예제 #4
0
def test_install_from_pypi():
    with CliRunner().isolated_filesystem():
        packaging.install_from_pypi(context)
예제 #5
0
파일: cli.py 프로젝트: michaelaye/changes
def pypi(context, pypi):
    """Attempts to install your package from pypi."""
    context.obj.pypi = pypi
    install_from_pypi(context.obj)
예제 #6
0
파일: cli.py 프로젝트: henrywm/changes
def pypi(context, pypi):
    """Attempts to install your package from pypi."""
    context.obj.pypi = pypi
    install_from_pypi(context.obj)
예제 #7
0
def test_install_from_pypi():
    packaging.install_from_pypi(context)
예제 #8
0
def test_install_from_pypi():
    packaging.install_from_pypi(context)