So, I've been working a bit on this over the weekend, and I'm facing the 
following issue:

In the run() method of the Command class that I'm implementing, I'm doing:

        self.run_command('build')

In order to do the normal freezing.

Now, how do I find out in which directory the resulting files are placed? Or, 
even better, how do I force a directory to be the resulting build dir? Also, is 
there a way to find out which is the name of the executable that was created by 
the freezing?

Regards,

Rob



Op 16 feb 2012, om 20:01 heeft Anthony Tuininga het volgende geschreven:

> On Thu, Feb 16, 2012 at 10:49 AM, Thomas Kluyver <[email protected]> wrote:
>> 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
> 
> Yes. But in this case there is no command that has most everything
> already in place as far as I know so you have more work to do than
> otherwise.
> 
>> I don't have a Mac either, but I'm hoping to package my application
>> for mac users, so this would be very useful.
> 
> I __do__ have a Mac, just not the knowledge, so if you get this most
> of the way there I can at least test the results. I appreciate your
> help in this regard.
> 
> Anthony
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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