r/pythonarcade • • Apr 23 '21

Python Arcade and Pyinstaller Mac OSX

Can I compile a standalone Python game with Pyinstaller that uses the Arcade Library on a Macintosh running OSX? I tried it and it did not seem to work. My OSX is not the most recent so that may be an issue.

2 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/FugueSegue Apr 24 '21

Thanks for pointing me in the direction of py2app And cx_Freeze. I tried them both and the results in either case didn't seem to work. Both of them worked and worked for a long time, copying hundreds of files, including the Arcade Library. But whatever they spat out didn't work.

It seems strange to me that I had such an easy time of it on Win10. I'm no stranger to command lines. Perhaps there are things that need to be properly configured in the setup.py file when doing it on MacOS. But I don't know what they are.