Skip to main content

apply

Function apply 

Source
pub fn apply(
    config: &mut Config,
    host: &Host<'_>,
    project: bool,
) -> Result<(), PyenvError>
Expand description

Sets the built-in python interpreter, if [interpreters] doesn’t define it and the DAG interpreter is python, and records how it was found (Config::builtin_python). Another DAG interpreter needs no lookup. project as for discover: on for the local commands, off for a worker.

§Errors

PyenvError as for discover.