You are here

Shrink this more!

5 posts / 0 new
Last post
Last seen: 4 years 11 months ago
Joined: 2006-05-11 03:35
Shrink this more!

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


Last seen: 2 years 2 months ago
Joined: 2006-02-05 14:52

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
John T. Haller's picture
Last seen: 21 min 26 sec ago
Joined: 2005-11-28 22:21
What is a PYD

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
Ryan McCue's picture
Last seen: 6 years 1 month ago
Joined: 2006-01-06 21:27
Thats exactly what I thought

Could be DLLs. Most likely.
R McCue

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

Bruce Pascoe
Last seen: 3 years 10 months ago
Joined: 2006-01-15 16:14

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

Topic locked