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')
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')
def test_install_package(): with CliRunner().isolated_filesystem(): packaging.install_package(context)
def install(context, test_command): """Attempts to install the sdist and wheel.""" context.obj.test_command = test_command install_package(context.obj)
def test_install_package(): packaging.install_package(context)