You are here

ClamWin: Shrink this more!

5 posts / 0 new
Last post
pps
Offline
Last seen: 3 years 7 months ago
Joined: 2006-05-11 03:35
ClamWin: 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! Smile
Greetings

pps

Torpedro
Offline
Last seen: 10 years 7 months ago
Joined: 2006-02-05 14:52
Thx

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
Online
Last seen: 39 min 20 sec ago
AdminDeveloperModeratorTranslator
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
Offline
Last seen: 14 years 6 months 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
Offline
Last seen: 12 years 3 months ago
Joined: 2006-01-15 16:14
...

According to filext.com, 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