Home
last modified time | relevance | path

Searched refs:known_paths (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/
Dsite.py121 known_paths = set()
127 if dircase not in known_paths:
129 known_paths.add(dircase)
131 return known_paths
147 def addpackage(sitedir, name, known_paths): argument
152 if known_paths is None:
153 known_paths = _init_pathinfo()
172 if not dircase in known_paths and os.path.exists(dir):
174 known_paths.add(dircase)
185 known_paths = None
[all …]
/external/python/cpython2/Lib/
Dsite.py105 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): argument
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
[all …]
/external/python/setuptools/setuptools/
Dsite-patch.py41 known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp
62 if np in known_paths or insert_at is None:
/external/python/cpython3/Lib/test/
Dtest_site.py310 known_paths = set()
311 site.addusersitepackages(known_paths)
315 self.assertFalse(known_paths)
/external/python/cpython2/Doc/library/
Dsite.rst151 .. function:: addsitedir(sitedir, known_paths=None)
/external/python/cpython3/Doc/library/
Dsite.rst195 .. function:: addsitedir(sitedir, known_paths=None)