pub async fn init_script_python_requirement(
python: Option<&str>,
install_mirrors: &PythonInstallMirrors,
directory: &Path,
no_pin_python: bool,
python_preference: PythonPreference,
python_arch: Option<PythonArchitecture>,
python_downloads: PythonDownloads,
config_discovery: ConfigDiscovery,
client_builder: &BaseClientBuilder<'_>,
cache: &Cache,
reporter: &PythonDownloadReporter,
) -> Result<RequiresPython, PythonSelectionError>Expand description
Determine the RequiresPython requirement for a new PEP 723 script.