tags:

views:

175

answers:

3

Is there currently a way to create an application bundle from Py3k script? py2app uses Carbon package and therefore, as far as I understand, cannot be ported to py3k - Carbon development was terminated.

A: 

I have not checked if that's true, but cx_freeze 4.1 claims to support Python 3.1 (cx_freeze in general has long supported Mac OS X, as well as Windows and Linux, and I believe that also applies to the recent 4.1 release).

Alex Martelli
Thank you Alex, it seems to be working somehow (but not from clean installation though - needs manual patching like replacing ldd calls by otool and so on).
Manti
A: 

There's always Platypus and PyObjC

http://www.sveinbjorn.org/platypus

http://pyobjc.sourceforge.net

Azeem.Butt
Thanks, but Platypus does not work with GUI-showing scripts, and pyobjc is mac-specific, while I need some tool like py2app to create platform-specific bundles from crossplatform scripts (in my case, Python + PyQt).
Manti
A: 

Manti,

I m facing same issue now which u experienced earlier. Have u fixed the probelm/issue? It would be useful to me if u tell me the procedure to get an app file from python3-pyqt4 code.

I had freezed the scripts into binary files.

Thun
Hi, and sorry to have taken so long. I did not find the solution back then, and I sort of switched to different areas of programming. But your post made me wonder if something has changed with app builders, and I decided to perform a little test: http://publicfields.blogspot.com/2010/08/mac-os-application-builders-for-python.htmlBriefly, the conclusion is that cx_freeze seems to work well for py3k+pyqt, but it just creates standalone application without proper bundling (sounds stupid, maybe I just didn't find the right option).
Manti