[Pythonmac-SIG] py2app?

altern altern2 at gmail.com
Wed Oct 3 15:45:42 CEST 2007


hi

there was a gui version for py2exe (windows equivalent of py2app) but i 
dont know any for py2app. Anyway if what you are doing is simple you can 
easily deal with the setup.py script.

this is the py2app documentation
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
the option reference
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#option-reference

Attached there is an example of a setup.py script that uses pygame, i 
think it should work, you just need to edit the name variable and run it 
like this
$ python setup.py py2app

However if you have assets like images, sounds etc... you need to make 
sure that they are also included, check the extra_file variable. IN that 
example it will put a file "data/slicer_pd.pd" into a folder called 
"data" inside the app. Otherwise keep extra_files = []

Please anyone correct if there is anything wrong, i just quickly put 
this together from another more complex script.

good luck

enrike

jack rothwell(e)k dio:
> hi.
> can anyone tell me how to use py2app? im just a novice python  
> programmer and i have no idea how to use it. does anyone know if  
> theres a gui version around? i have no idea what distutils or  
> anything like that even MEANS. i just want to be able to send pygame  
> games to friends.
> please help! give me a push in the right direction!
> una.x
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.py
Type: text/x-python
Size: 467 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20071003/19048c2b/attachment.py 


More information about the Pythonmac-SIG mailing list