[Pythonmac-SIG] [py2app] optimize and includes
Ronald Oussoren
ronaldoussoren at mac.com
Tue Jun 28 15:37:39 CEST 2011
On 28 Jun, 2011, at 15:18, Jeffrey O'Neill wrote:
> Thanks for fixing this.
>
> If it matters, I need 32-bit only code to support older versions of OS X but I don't need to support PPC (shouldn't be too many of those around anymore...).
If your python was build using '--with-universal-archs=intel' the version in the repository should work fine (and likewise for 64-bit only builds). Other build variants should result in an automatic rebuild of the executable stubs, but I've noticed in the past that this doesn't always work as designed.
Ronald
>
> On Tue, Jun 28, 2011 at 8:08 AM, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
> On 18 Jun, 2011, at 16:38, Jeffrey O'Neill wrote:
>
>> I'm using the latest py2app.
>>
>> Since my app uses __import__ to load some modules, I list those modules in the include option.
>>
>> This works great when optimization is turned off, but when I turn optimization on (1 or 2), the modules listed in the includes option go missing.
>>
>> Is there a fix for this?
>
> This should be fixed in the repository. That said, the repository is not in an optimal state right now: I've done some small changes to the C code of the executable stubs to fix another issue and because I'm currently running Xcode 4 on my machine I cannot rebuild the executable stubs for the normal 32-bit build of python (Xcode 4 doesn't support PPC code).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110628/aaa43aa3/attachment.html>
More information about the Pythonmac-SIG
mailing list