You should use Makefile as well.

If you look at the Makefile, there are steps like copying a local version
of python and removing unnecessary Qt components from the bundle. For a
simple script like what you have, bundle should be ~30M.

-Srini

On Tue, Nov 15, 2011 at 8:16 PM, He Jibo <[email protected]> wrote:

> Hi, Srini,
>
> I created Safebox.py, with the following three lines of code.
> *outfile = open('outfile.txt','w')*
> *print >>outfile,'hello world'*
> *outfile.close()*
>
> Then I download your deployment code at
> https://github.com/srinikom/pyside-macbuild-scripts. I just disabled
> DATA_FILES = [('assets')] and the Crypto package. Everything else is the
> same.
>
> I am using 64bit Mac osx.
>
> The output file is over 200M, and I cannot run it on a 64 bit mac.
>
>
> ---------------------------
> He Jibo
> Department of Psychology,
> Beckman Institute for Advanced Science and Technology
> University of Illinois, Urbana Champaign,
> 603 East Daniel St.,
> Champaign, IL 61820
> website: www.hejibo.info
>
>
> On Tue, Nov 15, 2011 at 10:10 PM, Srini Kommoori <[email protected]> wrote:
>
>> Are you saying .app bundle is 200MB? That is pretty high for a bundle.
>> Not sure what is going on. Did you use the same template scripts that I
>> posted to github?
>>
>> -Srini
>>
>>
>> On Tue, Nov 15, 2011 at 4:09 PM, He Jibo <[email protected]> wrote:
>>
>>> Hi, Srini,
>>>
>>> I am trying to pack my pyside project under mac. I tried your
>>> pyside-macbuild-scripts, but failed.
>>> A simple test script like below generates over 200MB after packing. And
>>> I cannot run it under 64bit mac. I am not sure whether I can run it under
>>> 32 bit mac. Can you help me out? Thanks.
>>>
>>> outfile = open('outfile.txt','w')
>>> print >>outfile,'hello world'
>>> outfile.close()
>>>
>>>
>>> On Fri, Nov 11, 2011 at 5:35 PM, Srini Kommoori <[email protected]>wrote:
>>>
>>>> You can download what I used for Safebox here.
>>>>
>>>> https://github.com/srinikom/pyside-macbuild-scripts
>>>>
>>>> -Srini
>>>>
>>>>
>>>> On Fri, Nov 11, 2011 at 3:12 PM, He Jibo <[email protected]> wrote:
>>>>
>>>>> Hi, Srini,
>>>>>
>>>>> Thanks for sharing. Can you describe how you make an installer and
>>>>> pack PySide project for a mac computer? Thanks.
>>>>>
>>>>> ---------------------------
>>>>> He Jibo
>>>>> Department of Psychology,
>>>>> Beckman Institute for Advanced Science and Technology
>>>>> University of Illinois, Urbana Champaign,
>>>>> 603 East Daniel St.,
>>>>> Champaign, IL 61820
>>>>> website: www.hejibo.info
>>>>>
>>>>>
>>>>> On Fri, Nov 11, 2011 at 4:48 PM, Srini Kommoori <[email protected]>wrote:
>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>> I have just released an application based on PySide. It was quite a
>>>>>> gig and PySide helped a lot in getting this built.
>>>>>>
>>>>>> http://safebox.fabulasolutions.com/ - Safebox for ur Dropbox
>>>>>>
>>>>>> I will be open sourcing another PySide app that I developed in few
>>>>>> days. This might help folks get ramped up from coding to making builds on
>>>>>> windows and mac.
>>>>>>
>>>>>> thanks
>>>>>> -Srini
>>>>>>
>>>>>> _______________________________________________
>>>>>> PySide mailing list
>>>>>> [email protected]
>>>>>> http://lists.pyside.org/listinfo/pyside
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to