Lines Matching refs:base_executable
222 base_executable = config.get('base_executable')
311 # and should not affect base_executable.
312 base_executable = f"{dirname(library)}/bin/python{VERSION_MAJOR}.{VERSION_MINOR}"
314 base_executable = executable
317 real_executable = base_executable
366 if not base_executable:
370 base_executable = realpath(executable)
371 if base_executable == executable:
373 base_executable = ''
376 if not base_executable:
377 base_executable = joinpath(executable_dir, basename(executable))
383 if os_name != 'nt' and not isfile(base_executable):
390 # Only set base_executable if the candidate exists.
392 # base_executable (like FileNotFoundError) remain in the
395 base_executable = candidate
403 # CALCULATE base_executable, real_executable AND executable_dir
406 if not base_executable:
407 base_executable = executable or real_executable or ''
410 real_executable = base_executable
418 warn(f'Failed to find real location of {base_executable}')
455 # This may allow a venv to override the base_executable's
780 config['base_executable'] = base_executable