<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _set_archive_name(package_name, package_version, python_versions, platform, build_tag=''):
 """Set the format of the output archive file. We should aspire for the name of the archive to be as compatible as possible with the wheel naming convention described here: https://www.python.org/dev/peps/pep-0491/#file-name-convention, as we're basically providing a "wheel" of our package. """

    package_name = package_name.replace('-', '_')
    python_versions = '.'.join(python_versions)

    archive_name_tags = [
        package_name,
        package_version,
        python_versions,
        'none',
        platform,
    ]

    if build_tag:
        archive_name_tags.insert(2, build_tag)

    archive_name = '{0}.wgn'.format('-'.join(archive_name_tags))
    return archive_name