Lines Matching refs:known_paths
105 known_paths = set()
111 if not dircase in known_paths:
113 known_paths.add(dircase)
115 return known_paths
131 def addpackage(sitedir, name, known_paths):
134 and add that to known_paths, or execute it if it starts with 'import '.
136 if known_paths is None:
156 if not dircase in known_paths and os.path.exists(dir):
158 known_paths.add(dircase)
168 known_paths = None
169 return known_paths
172 def addsitedir(sitedir, known_paths=None):
175 if known_paths is None:
176 known_paths = _init_pathinfo()
181 if not sitedircase in known_paths:
190 addpackage(sitedir, name, known_paths)
192 known_paths = None
193 return known_paths
258 def addusersitepackages(known_paths):
269 addsitedir(user_site, known_paths)
270 return known_paths
309 def addsitepackages(known_paths):
313 addsitedir(sitedir, known_paths)
315 return known_paths
527 known_paths = removeduppaths()
530 known_paths = addusersitepackages(known_paths)
531 known_paths = addsitepackages(known_paths)