Search code examples
pythonwindowspy2app

Can I run py2app on Windows?


I recently discovered that an outdated version of Python was causing my Wx app to run into errors.

I can't install Python 2.7.3 on my Mac, and when I tried it in a virtual machine, py2app was still "compiling" the app after running overnight (my Windows/Linux box has an ≈1GHz processor).

Is there a version of py2app that runs on Windows?


Solution

  • According to the project page and the readme, py2app is directed at creating Mac apps out of python code. Obviously you won't be able to run the final product on a windows machine. But if the question is can you build the app on windows and run it on a mac, then the answer is still no, because if you go to the setup.py, it says 'Operating System :: MacOS :: MacOS X' and there are no forks for windows because it depends on some Mac SDK tools like /Developer/SDKs/MacOSX10.5.sdk. Looks like you are out of luck. If you are desperate, try Virtual box to emulate a mac on your windows machine, or be content with a windows build with py2exe