From 28fe7b804cf5029741332e270de6bc34e81c4da3 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Tue, 20 Aug 2024 12:00:14 -0500 Subject: [PATCH] fix: python-compile setting (#2482) Fixes https://github.com/jdx/mise/issues/2480 --- src/plugins/core/python.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/core/python.rs b/src/plugins/core/python.rs index 0a5f8b64f..39b73aac7 100644 --- a/src/plugins/core/python.rs +++ b/src/plugins/core/python.rs @@ -349,7 +349,7 @@ impl Backend for PythonPlugin { fn install_version_impl(&self, ctx: &InstallContext) -> eyre::Result<()> { let config = Config::get(); let settings = Settings::try_get()?; - if cfg!(windows) && settings.python_compile == Some(true) { + if cfg!(windows) || settings.python_compile == Some(true) { self.install_compiled(ctx)?; } else { self.install_precompiled(ctx)?;