[PyKDE] PyQt's configure.py change for OS X

George Lippert dongiorgio at globalmaximum.com
Fri Apr 7 07:01:22 BST 2006


For PyQt4 snapshot 20060406 one needs to change
---
     if sys.platform == "win32":
         exe_file = app + ".exe"
     else:
         exe_file = os.path.join(".", app)
---
to something like
---
     if sys.platform == "win32":
         exe_file = app + ".exe"
     elif sys.platform == "darwin":
         exe_file = os.path.join(app + ".app", "Contents", "MacOS", app)
     else:
         exe_file = os.path.join(".", app)
---
to avoid an error during building on Mac OS X 10.4.6 PPC and Python  
2.4.3.




More information about the PyQt mailing list