Commits

Anthony Tuininga committed e86c4a6

Change condition for checking for the Mac to one used by more modern Python
distributions.

  • Participants
  • Parent commits 4d91841

Comments (0)

Files changed (1)

File cx_Freeze/hooks.py

         finder.ExcludeModule("wx.activex")
     if os.name != "posix":
         finder.ExcludeModule("posix")
-    if os.name != "mac":
+    if sys.platform != "darwin":
         finder.ExcludeModule("Carbon")
         finder.ExcludeModule("gestalt")
         finder.ExcludeModule("ic")