I'd envisage this going in as a distutils option, so you could do something like "python setup.py bdist_macapp". I'm not entirely familiar with the machinery, but it looks like you should define a class with a run() method, like the examples in these files:
https://bitbucket.org/takluyver/cx-freeze/src/d0296183eeeb/cx_Freeze/dist.py https://bitbucket.org/takluyver/cx-freeze/src/d0296183eeeb/cx_Freeze/windist.py I don't have a Mac either, but I'm hoping to package my application for mac users, so this would be very useful. Thanks, Thomas On 16 February 2012 17:27, Rob Reilink <[email protected]> wrote: > Hi Anthony, > > Since apparently you are quite busy, and don't have a Mac, I'd suggest that > you tell me what would be the best place in the current code to put this > functionality and I'll try to implement it. > > Regards > > Rob > > Op 16 feb 2012, om 14:40 heeft Anthony Tuininga het volgende geschreven: > >> Hey, if you've already written such a script, perhaps I could use it >> to improve cx_Freeze? I am not by any stretch of the imagination a Mac >> person so this would help considerably. >> >> Anthony >> >> On Thu, Feb 16, 2012 at 3:35 AM, Rob Reilink <[email protected]> wrote: >>> I am >>> >>> I am using it to freeze iep, a PyQt4-based application; see >>> http://code.google.com/p/iep/source/browse/freezeScript.py?repo=dev for the >>> freeze script. >>> >>> It contains quite some code (from line 161 on) to change the absolute path >>> in each included binary to a relative path, such that it will properly work >>> when used on another computer, and to build an Application Bundle. I guess >>> this would actually be a task of cx_Freeze, but since it isn't in there, I >>> put it in the freeze script. >>> >>> Regards >>> Rob Reilink >>> >>> Op 16 feb 2012, om 11:03 heeft Florian Berger het volgende geschreven: >>> >>>> Hi, >>>> >>>> as my last question did not attract attention: >>>> >>>> Is there anyone who is actually using cx_Freeze under OS X? >>>> >>>> Please report in. :) >>>> >>>> >>>> Kind regards, >>>> >>>> Florian Berger >>>> >>>> >>>> -- >>>> My OpenPGP-Key: http://florian-berger.de/fberger-gpg_key.txt >>>> If you don't know what this is, please ignore the attachment. >>>> ------------------------------------------------------------------------------ >>>> Virtualization & Cloud Management Using Capacity Planning >>>> Cloud computing makes use of virtualization - but cloud computing >>>> also focuses on allowing computing to be delivered as a service. >>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________ >>>> cx-freeze-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users >>> >>> >>> ------------------------------------------------------------------------------ >>> Virtualization & Cloud Management Using Capacity Planning >>> Cloud computing makes use of virtualization - but cloud computing >>> also focuses on allowing computing to be delivered as a service. >>> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >>> _______________________________________________ >>> cx-freeze-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> cx-freeze-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > cx-freeze-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
