Searched refs:interpreter_for (Results 1 – 2 of 2) sorted by relevance
139 assert install.interpreter_for(linked) is None # no interpreter there141 assert install.interpreter_for(linked) == str(fw / "bin" / "python3")143 …assert install.interpreter_for(linked) == str(fw / "bin" / "python3.14") # the exact version wins144 …assert install.interpreter_for("libpython3.11.so.1.0", which=lambda n: "/usr/bin/" + n) == "/usr/b…145 assert install.interpreter_for(None) is None
217 def interpreter_for(linked, which=shutil.which): function246 mapped = interpreter_for(link, which)