You are here

ClamWin: Shrink this more!

Submitted by pps on May 11, 2006 - 3:52am

You can shrink it more...
...just use UPX on PortableClamWin\App\clamwin\lib\*.pyd
15.0 MB -> 11.4 MB (both including over 3MB of updates)
10.7 MB -> 7.13 MB (without updates), so over 3.5MB is saved (1/3 !)

BTW, great job! Smiling


I would have not thought that .pyd is compressible with UPX!
Btw: it does NOT work with WinUpack, only UPX. I did not try ASPack for this.

John T. Haller's picture

I wouldn't have thought those would be compressible. Unless, of course, they're just renamed DLLs.

Sometimes, the impossible can become possible, if you're awesome!

Ryan McCue's picture

Could be DLLs. Most likely.
R McCue

"If you're not part of the solution, you're part of the precipitate."

According to, PYD files are "Python dynamic modules."

.PYD files are in the format of a .DLL file; intended specifically as a Python extension. The file FOO.PYD is loaded with an 'import foo' statement.

So yes, they're just renamed DLLs that have been compiled from Python source.

Edit: Sorry if this edit bumps the topic to the top of the page... I'm trying to get my email address out of here. I'm being spammed to death. Sad

< ExplosivePrincess 1.5 Atomic Bomb Edition >
warning: keep explosiveprincess away from children