'For Windows, add a .py extension and an .exe launcher'

@classmethod
def _get_script_args(cls, type_, name, header, script_text):

    if (type_ == 'gui'):
        launcher_type = 'gui'
        ext = '-script.pyw'
        old = ['.pyw']
    else:
        launcher_type = 'cli'
        ext = '-script.py'
        old = ['.py', '.pyc', '.pyo']
    hdr = cls._adjust_header(type_, header)
    blockers = [(name + x) for x in old]
    (yield ((name + ext), (hdr + script_text), 't', blockers))
    (yield ((name + '.exe'), get_win_launcher(launcher_type), 'b'))
    if (not is_64bit()):
        m_name = (name + '.exe.manifest')
        (yield (m_name, load_launcher_manifest(name), 't'))
