(dist, script_name, is_gui)
return paths_to_remove
Create the fully qualified name of the files created by
    {console,gui}_scripts for the given ``dist``.
    Returns the list of file names
Create the fully qualified name of the files created by
    {console,gui}_scripts for the given ``dist``.
    Returns the list of file names
Create the fully qualified name of the files created by { console gui } _scripts for the given dist . Returns the list of file names
def _script_names(dist, script_name, is_gui):
    # type: (Distribution, str, bool) -> List[str]
    """Create the fully qualified name of the files created by
    {console,gui}_scripts for the given ``dist``.
    Returns the list of file names
    """
    if dist_in_usersite(dist):
        bin_dir = bin_user
    else:
        bin_dir = bin_py
    exe_name = os.path.join(bin_dir, script_name)
    paths_to_remove = [exe_name]
    if WINDOWS:
        paths_to_remove.append(exe_name + '.exe')
        paths_to_remove.append(exe_name + '.exe.manifest')
        if is_gui:
            paths_to_remove.append(exe_name + '-script.pyw')
        else:
            paths_to_remove.append(exe_name + '-script.py')
    return paths_to_remove
def _script_names ( dist , script_name , is_gui ) : # type: (Distribution, str, bool) -> List[str] if dist_in_usersite ( dist ) : bin_dir = bin_user else : bin_dir = bin_py exe_name = os . path . join ( bin_dir , script_name ) paths_to_remove = [ exe_name ] if WINDOWS : paths_to_remove . append ( exe_name + '.exe' ) paths_to_remove . append ( exe_name + '.exe.manifest' ) if is_gui : paths_to_remove . append ( exe_name + '-script.pyw' ) else : paths_to_remove . append ( exe_name + '-script.py' ) return paths_to_remove