def _script_names(dist, script_name, is_gui):
 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 ) : 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
create the fully qualified name of the files created by {console .