def pypi_name(ctx):
    """
    Determine name of package to install from (test)PyPI server.

    Defaults to "module_name", but can be overwritten by "pypi_name".
    """
    try:
        return ctx.releaser.pypi_name
    except AttributeError:
        return ctx.releaser.module_name