Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 800
tkbx Avatar asked Oct 17 '12 15:10

tkbx


People also ask

Does py2app work on Windows?

You can create standalone applications with Python scripts by using py2app on OS X or py2exe on Windows.


1 Answers

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

like image 174
charmoniumQ Avatar answered Oct 08 '22 21:10

charmoniumQ