Searched refs:path_item (Results 1 – 8 of 8) sorted by relevance
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 1864 def find_distributions(path_item, only=False): argument 1866 importer = get_importer(path_item) 1868 return finder(importer, path_item, only) 1871 def find_eggs_in_zip(importer, path_item, only=False): argument 1881 yield Distribution.from_filename(path_item, metadata=metadata) 1887 subpath = os.path.join(path_item, subitem) 1892 subpath = os.path.join(path_item, subitem) 1895 yield Distribution.from_location(path_item, subitem, submeta) 1901 def find_nothing(importer, path_item, only=False): argument 1934 def find_on_path(importer, path_item, only=False): argument [all …]
|
/external/python/cpython2/Lib/ |
D | pkgutil.py | 364 def get_importer(path_item): argument 378 importer = sys.path_importer_cache[path_item] 382 importer = path_hook(path_item) 388 sys.path_importer_cache.setdefault(path_item, importer) 392 importer = ImpImporter(path_item)
|
/external/python/cpython3/Lib/ |
D | pkgutil.py | 405 def get_importer(path_item): argument 415 importer = sys.path_importer_cache[path_item] 419 importer = path_hook(path_item) 420 sys.path_importer_cache.setdefault(path_item, importer)
|
/external/python/cpython2/Doc/library/ |
D | pkgutil.rst | 78 .. function:: get_importer(path_item) 80 Retrieve a :pep:`302` importer for the given *path_item*.
|
/external/python/cpython3/Doc/library/ |
D | pkgutil.rst | 94 .. function:: get_importer(path_item) 96 Retrieve a :term:`finder` for the given *path_item*.
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_data.py | 269 path_item.replace("device_", "device:").replace("_", ":", 1) 270 for path_item in path_items])
|
/external/python/setuptools/setuptools/command/ |
D | easy_install.py | 324 for path_item in self.install_dir, normalize_path(self.script_dir): 325 if path_item not in self.shadow_path: 326 self.shadow_path.insert(0, path_item)
|
/external/python/setuptools/docs/ |
D | pkg_resources.txt | 165 ``fixup_namespace_packages(path_item)`` 166 Declare that `path_item` is a newly added item on ``sys.path`` that may 874 ``find_distributions(path_item, only=False)`` 875 Yield distributions accessible via `path_item`. If `only` is true, yield 876 only distributions whose ``location`` is equal to `path_item`. In other 878 importable if `path_item` were on ``sys.path``. If `only` is false, this 879 also yields distributions that are "in" or "under" `path_item`, but would 1660 ``get_importer(path_item)``
|