Browse Source

match psutil platform detection might catch some edge cases

Alex Cheema 1 năm trước cách đây
mục cha
commit
998d484384
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      setup.py

+ 1 - 1
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",