How PyInstaller packaged exe clean up the intermediate files?

595 views
Skip to first unread message

Scott Wang

unread,
Jun 18, 2009, 8:23:25 AM6/18/09
to PyInstaller
Hi, folks,

I have been using PyInstaller on Linux for a while. We build a
wxPython based GUI program. The final single image is about 10+ MB.
The unzipped files in /tmp directory for each running instance of our
program is about 50+ MB. After I try to lunch a few times, the total
size of the temp directories added up to a few hundred MBs.

I consult the user PyInstaller user manaul. But I failed to find the
relevant information?

My question are

1) when will the temp directory get clean up?
2) Who is doing the cleanup?

Also, How about on Windows? We will be release the Windows based
application too.

Best regards
Scott

Giovanni Bajo

unread,
Jun 18, 2009, 9:33:02 AM6/18/09
to PyIns...@googlegroups.com
On 6/18/2009 2:23 PM, Scott Wang wrote:
> Hi, folks,
>
> I have been using PyInstaller on Linux for a while. We build a
> wxPython based GUI program. The final single image is about 10+ MB.
> The unzipped files in /tmp directory for each running instance of our
> program is about 50+ MB. After I try to lunch a few times, the total
> size of the temp directories added up to a few hundred MBs.
>
> I consult the user PyInstaller user manaul. But I failed to find the
> relevant information?
>
> My question are
>
> 1) when will the temp directory get clean up?
> 2) Who is doing the cleanup?

The bootloader takes care of cleaning up the temporary directory when
the application exits. Since 1.3, we fixed several bugs regarding this
specific point, so I encourage you to upgrade to SVN trunk and try again.

> Also, How about on Windows? We will be release the Windows based
> application too.

PyInstaller supports Windows as well (modulo bugs ;).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com

Scott Wang

unread,
Jun 19, 2009, 6:11:01 AM6/19/09
to PyInstaller
Hi, Bajo,

You're right. We are using the 1.3 releases. We will be trying our the
svn main thunk to remove the issue.

Best Regards.
Scott
Reply all
Reply to author
Forward
0 new messages