def ensure_python(version): if version in PYTHONS: return scripts.run_script("ensure-python.sh", version) target = __python_executable(version) assert os.path.exists(target), target PYTHONS.add(version)
def ensure_python(version): if version in PYTHONS: return scripts.run_script('ensure-python.sh', version) target = __python_executable(version) assert os.path.exists(target), target PYTHONS.add(version)
def ensure_rustup(): scripts.run_script("ensure-rustup.sh")
def ensure_rustup(): scripts.run_script('ensure-rustup.sh')