def _script_names(dist, script_name, is_gui):
if dist_in_usersite(dist):<EOL><INDENT>bin_dir = bin_user<EOL><DEDENT>else:<EOL><INDENT>bin_dir = bin_py<EOL><DEDENT>exe_name = os.path.join(bin_dir, script_name)<EOL>paths_to_remove = [exe_name]<EOL>if WINDOWS:<EOL><INDENT>paths_to_remove.append(exe_name + '<STR_LIT>')<EOL>paths_to_remove.append(exe_name + '<STR_LIT>')<EOL>if is_gui:<EOL><INDENT>paths_to_remove.append(exe_name + '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>paths_to_remove.append(exe_name + '<STR_LIT>')<EOL><DEDENT><DEDENT>return paths_to_remove<EOL>
Create the fully qualified name of the files created by
    {console,gui}_scripts for the given ``dist``.
    Returns the list of file names