So, here's my first go at it. I've only tested at Python 2.7 for now. It does 
work for the simple and advanced samples. Just do python setup.py bdist_mac

Making a DMG (disk image) is not yet implemented, and neither is the use of an 
icon for your application.

For the PyQt sample, you have to add the file qt_menu.nib to the 
Contents/Resources folder of your resulting application bundle. I don't know 
yet how to find this file (except for manual locate qt_menu.nib). Any ideas?

Rob

btw. should I put this in some mercurial branch when it's more or less stable? 
Or should I create my own bitbucket account to put it there?

Attachment: macdist.patch
Description: Binary data



Op 20 feb 2012, om 15:07 heeft Thomas Kluyver het volgende geschreven:

> On 20 February 2012 12:31, Rob Reilink <[email protected]> wrote:
>> Now the next step: how do I find out which are the binary files (executable, 
>> libs, possibly compiled extension modules) that are included? Of course, I 
>> could just do an os.listdir in the build.build_exe dir, but I guess there is 
>> a neater way
> 
> I think I would just use listdir - looking at the code, it doesn't
> look like build keeps any information about the freezing process. It
> creates a Freezer instance, but doesn't store it after its run()
> method finishes:
> 
> https://bitbucket.org/takluyver/cx-freeze/src/f8a749d52e77/cx_Freeze/dist.py#cl-204
> 
> Thomas
> 
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> cx-freeze-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to