py2exe dll file

  • Thread starter Indigo Moon Man
  • Start date
I

Indigo Moon Man

The .dll file that py2exe creates to go with the program is huge even for a
small program. Is there any way to possibly optomize the .dll file to make
it smaller?
 
M

Miki Tebeka

Hello,
The .dll file that py2exe creates to go with the program is huge even for a
small program. Is there any way to possibly optomize the .dll file to make
it smaller?
Which dll? Depending on your program it might have several dlls in the
dist/prog directory.

If size does matter you might want to try upx
(http://upx.sourceforge.net/). With --best it reduced python23.dll
from 952k to 386k and my proram seems to work.

HTH.
Miki
 
I

Indigo Moon Man

Which dll? Depending on your program it might have several dlls in the
dist/prog directory.
Oh, the one I have compiled only produced one (python23.dll) so I didn't
know that.
If size does matter you might want to try upx
(http://upx.sourceforge.net/). With --best it reduced python23.dll
from 952k to 386k and my proram seems to work.
Cool, thanks for the info!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,440
Latest member
YoungBorel

Latest Threads

Top