Lines Matching refs:isfile
24 # isfile(path) -- path exists and is a file
208 def search_up(prefix, *landmarks, test=isfile):
383 if os_name != 'nt' and not isfile(base_executable):
394 if isfile(candidate):
417 if isfile(real_executable):
423 if any(isfile(joinpath(library_dir, p)) for p in STDLIB_LANDMARKS):
498 if isfile(joinpath(real_executable_dir, BUILD_LANDMARK)):
558 if isfile(joinpath(library_dir, ZIP_LANDMARK)):
563 if any(isfile(joinpath(library_dir, f)) for f in STDLIB_LANDMARKS):
572 if isfile(joinpath(executable_dir, ZIP_LANDMARK)):
590 if not any(isfile(joinpath(prefix, f)) for f in STDLIB_LANDMARKS):