[object Object]

← back to Exo

match psutil platform detection might catch some edge cases

998d48438450531d2db8be79b5df5774bedbc66f · 2024-07-17 11:48:52 -0700 · Alex Cheema

Files touched

Diff

commit 998d48438450531d2db8be79b5df5774bedbc66f
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Wed Jul 17 11:48:52 2024 -0700

    match psutil platform detection might catch some edge cases
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index cc07c468..9f229895 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ install_requires = [
 ]
 
 # Add macOS-specific packages if on Darwin (macOS)
-if sys.platform == "darwin":
+if sys.platform.startswith("darwin"):
     install_requires.extend(
         [
             "mlx==0.15.1",

← 99d40b1d download tinygrad model log  ·  back to Exo  ·  separate prerequisities seciton / troubleshooting section in 5055e378 →