Something great

Within samples/extending, Thomas Heller gives a Py2Exe setup.py script which automagically calls [http://www.jrsoftware.org/isinfo.php InnoSetup] to create a great looking (and perfectly working) Windows-Installer. Yes, really, ONE setup.exe is created which contains ALL stuff to have a readily installable Software out of your product.

also large

I program using wxPython. A great library, a large library.

2.240.512 wxc.pyd 
3.416.064 wxmsw24uh.dll

Two modules you cannnot skip. In addition there is as allways

974.915 python23.dll

giving more than 6 Megabytes with no line of code written

In total:

28 Datei(en)      9.549.525 Bytes  (in lib)

and

2 Datei(en)      1.011.779 Bytes   (in prog)

summing up to 10.5 Megabyte ... not much with DSL, but... shocking, isn't it?

get it smaller

In the standard configuration [http://www.jrsoftware.org/isinfo.php InnoSetup] compressed it down to around 6.5 Megabyte.

I changed the setup.py to contain

   1 print >> ofi, r"[Setup]"
   2 print >> ofi, r"AppName=%s" % self.name
   3 print >> ofi, r"AppVerName=%s %s" % (self.name, self.version)
   4 print >> ofi, r"DefaultDirName={pf}\%s" % self.name
   5 print >> ofi, r"DefaultGroupName=%s" % self.name
   6 print >> ofi, r"Compression=bzip" 
   7 print >> ofi

... the special line is

   1 print >> ofi, r"Compression=bzip" 

the result

4.335.283 setup.exe 

Quite an OK download ... and I use ZODB and Elementtree and pythoncom and and and....

Remarks

Addition:

Innosetup 4.2 has 7z "LZMA" compression included. Just use

   1 print >> ofi, r"Compression=lzma/max" 

HAM2005-05-20

7ZIP and UPX

Repacking the "library.zip" with [http://www.7-zip.org/ 7-ZIP] saving 357KB (577KB original to 220KB 7ZIP compressed)

Using [http://upx.sourceforge.net/ UPX ] the executable packer to compress *.pyd, *.dll and *.exe Files:

Example: _sre.pyd, _winreg.pyd, python23.dll, unicodedata.pyd, w9xpopen.exe, zlib.pyd 1516,2KB original to 584KB compressed)

Everything together: Original Size: 2093,2 compressed: 804KB !!!

A short Windows Batch-File to automate (see WinBatch):

7z.exe -aoa x library.zip -olibrary\
del library.zip

cd library\
7z.exe a -tzip -mx9 ..\library.zip -r
cd..
rd library /s /q

upx.exe --best *.*

http://www.shop263.com http://www.shop263.com/downsoft/1.htm http://www.shop263.com/downsoft/2.htm http://www.shop263.com/downsoft/3.htm http://www.shop263.com/downsoft/4.htm http://www.shop263.com/downsoft/5.htm http://www.shop263.com/downsoft/6.htm http://www.shop263.com/downsoft/7.htm http://www.shop263.com/downsoft/8.htm http://www.shop263.com/downsoft/9.htm http://www.shop263.com/downsoft/10.htm http://www.shop263.com/downsoft/11.htm http://www.shop263.com/downsoft/12.htm http://www.shop263.com/downsoft/13.htm http://www.shop263.com/downsoft/14.htm http://www.shop263.com/downsoft/15.htm http://www.shop263.com/downsoft/16.htm http://www.shop263.com/downsoft/17.htm http://www.shop263.com/downsoft/18.htm http://www.shop263.com/downsoft/19.htm http://www.shop263.com/downsoft/20.htm http://www.shop263.com/downsoft/21.htm http://www.shop263.com/downsoft/22.htm http://www.shop263.com/downsoft/23.htm http://www.shop263.com/downsoft/24.htm http://www.shop263.com/downsoft/25.htm http://www.shop263.com/downsoft/26.htm http://www.shop263.com/downsoft/27.htm http://www.shop263.com/downsoft/28.htm http://www.shop263.com/downsoft/29.htm http://www.shop263.com/downsoft/30.htm http://www.shop263.com/downsoft/31.htm http://www.shop263.com/downsoft/32.htm http://www.shop263.com/downsoft/33.htm http://www.shop263.com/downsoft/34.htm http://www.shop263.com/downsoft/35.htm http://www.shop263.com/downsoft/36.htm http://www.shop263.com/downsoft/37.htm http://www.shop263.com/downsoft/38.htm http://www.shop263.com/downsoft/39.htm http://www.shop263.com/downsoft/40.htm http://www.shop263.com/downsoft/41.htm http://www.shop263.com/downsoft/42.htm http://www.shop263.com/downsoft/43.htm http://www.shop263.com/downsoft/44.htm http://www.shop263.com/downsoft/45.htm http://www.shop263.com/downsoft/46.htm http://www.shop263.com/downsoft/47.htm http://www.shop263.com/downsoft/48.htm http://www.shop263.com/downsoft/49.htm http://www.shop263.com/downsoft/50.htm http://www.shop263.com/downsoft/51.htm http://www.shop263.com/downsoft/52.htm http://www.shop263.com/downsoft/53.htm http://www.shop263.com/downsoft/54.htm http://www.shop263.com/downsoft/55.htm http://www.shop263.com/downsoft/56.htm http://www.shop263.com/downsoft/57.htm http://www.shop263.com/downsoft/58.htm http://www.shop263.com/downsoft/59.htm http://www.shop263.com/downsoft/60.htm http://www.shop263.com/downsoft/61.htm http://www.shop263.com/downsoft/62.htm http://www.shop263.com/downsoft/63.htm http://www.shop263.com/downsoft/64.htm http://www.shop263.com/downsoft/65.htm http://www.shop263.com/downsoft/66.htm http://www.shop263.com/downsoft/67.htm http://www.shop263.com/downsoft/68.htm http://www.shop263.com/downsoft/69.htm http://www.shop263.com/downsoft/70.htm http://www.shop263.com/downsoft/71.htm http://www.shop263.com/downsoft/72.htm http://www.shop263.com/downsoft/73.htm http://www.shop263.com/downsoft/74.htm http://www.shop263.com/downsoft/75.htm http://www.shop263.com/downsoft/76.htm http://www.shop263.com/downsoft/77.htm http://www.shop263.com/downsoft/78.htm http://www.shop263.com/downsoft/79.htm http://www.shop263.com/downsoft/80.htm http://www.shop263.com/downsoft/81.htm http://www.shop263.com/downsoft/82.htm http://www.shop263.com/downsoft/83.htm http://www.shop263.com/downsoft/84.htm http://www.shop263.com/downsoft/85.htm http://www.shop263.com/downsoft/86.htm http://www.shop263.com/downsoft/87.htm http://www.shop263.com/downsoft/88.htm http://www.shop263.com/downsoft/89.htm http://www.shop263.com/downsoft/90.htm http://www.shop263.com/downsoft/91.htm http://www.shop263.com/downsoft/92.htm http://www.shop263.com/downsoft/93.htm http://www.shop263.com/downsoft/94.htm http://www.shop263.com/downsoft/95.htm http://www.shop263.com/downsoft/96.htm http://www.shop263.com/downsoft/97.htm http://www.shop263.com/downsoft/98.htm http://www.shop263.com/downsoft/99.htm http://www.shop263.com/downsoft/100.htm http://www.shop263.com/downsoft/101.htm http://www.shop263.com/downsoft/102.htm http://www.shop263.com/downsoft/103.htm http://www.shop263.com/downsoft/104.htm http://www.shop263.com/downsoft/105.htm http://www.shop263.com/downsoft/106.htm http://www.shop263.com/downsoft/107.htm http://www.shop263.com/downsoft/108.htm http://www.shop263.com/downsoft/109.htm http://www.shop263.com/downsoft/110.htm http://www.shop263.com/downsoft/111.htm http://www.shop263.com/downsoft/112.htm http://www.shop263.com/downsoft/113.htm http://www.shop263.com/downsoft/114.htm http://www.shop263.com/downsoft/115.htm http://www.shop263.com/downsoft/116.htm http://www.shop263.com/downsoft/117.htm http://www.shop263.com/downsoft/118.htm http://www.shop263.com/downsoft/119.htm http://www.shop263.com/downsoft/120.htm http://www.shop263.com/downsoft/121.htm http://www.shop263.com/downsoft/122.htm http://www.shop263.com/downsoft/123.htm http://www.shop263.com/downsoft/124.htm http://www.shop263.com/downsoft/125.htm http://www.shop263.com/downsoft/126.htm http://www.shop263.com/downsoft/127.htm http://www.shop263.com/downsoft/128.htm http://www.shop263.com/downsoft/129.htm http://www.shop263.com/downsoft/130.htm http://www.shop263.com/downsoft/131.htm http://www.shop263.com/downsoft/132.htm http://www.shop263.com/downsoft/133.htm http://www.shop263.com/downsoft/134.htm http://www.shop263.com/downsoft/135.htm http://www.shop263.com/downsoft/136.htm http://www.shop263.com/downsoft/137.htm http://www.shop263.com/downsoft/138.htm http://www.shop263.com/downsoft/139.htm http://www.shop263.com/downsoft/140.htm http://www.shop263.com/downsoft/141.htm http://www.shop263.com/downsoft/142.htm http://www.shop263.com/downsoft/143.htm http://www.shop263.com/downsoft/144.htm http://www.shop263.com/downsoft/145.htm http://www.shop263.com/downsoft/146.htm http://www.shop263.com/downsoft/147.htm http://www.shop263.com/downsoft/148.htm http://www.shop263.com/downsoft/149.htm http://www.shop263.com/downsoft/150.htm http://www.shop263.com/downsoft/151.htm http://www.shop263.com/downsoft/152.htm http://www.shop263.com/downsoft/153.htm http://www.shop263.com/downsoft/154.htm http://www.shop263.com/downsoft/155.htm http://www.shop263.com/downsoft/156.htm http://www.shop263.com/downsoft/157.htm http://www.shop263.com/downsoft/158.htm http://www.shop263.com/downsoft/159.htm http://www.shop263.com/downsoft/160.htm http://www.shop263.com/downsoft/161.htm http://www.shop263.com/downsoft/162.htm http://www.shop263.com/downsoft/163.htm http://www.shop263.com/downsoft/164.htm http://www.shop263.com/downsoft/165.htm http://www.shop263.com/downsoft/166.htm http://www.shop263.com/downsoft/167.htm http://www.shop263.com/downsoft/168.htm http://www.shop263.com/downsoft/169.htm http://www.shop263.com/downsoft/170.htm http://www.shop263.com/downsoft/171.htm http://www.shop263.com/downsoft/172.htm http://www.shop263.com/downsoft/173.htm http://www.shop263.com/downsoft/174.htm http://www.shop263.com/downsoft/175.htm http://www.shop263.com/downsoft/176.htm http://www.shop263.com/downsoft/177.htm http://www.shop263.com/downsoft/178.htm http://www.shop263.com/downsoft/179.htm http://www.shop263.com/downsoft/180.htm http://www.shop263.com/downsoft/181.htm http://www.shop263.com/downsoft/182.htm http://www.shop263.com/downsoft/183.htm http://www.shop263.com/downsoft/184.htm http://www.shop263.com/downsoft/185.htm http://www.shop263.com/downsoft/186.htm http://www.shop263.com/downsoft/187.htm http://www.shop263.com/downsoft/188.htm http://www.shop263.com/downsoft/189.htm http://www.shop263.com/downsoft/190.htm http://www.shop263.com/downsoft/191.htm http://www.shop263.com/downsoft/192.htm http://www.shop263.com/downsoft/193.htm http://www.shop263.com/downsoft/194.htm http://www.shop263.com/downsoft/195.htm http://www.shop263.com/downsoft/196.htm http://www.shop263.com/downsoft/197.htm http://www.shop263.com/downsoft/198.htm http://www.shop263.com/downsoft/199.htm http://www.shop263.com/downsoft/200.htm http://www.shop263.com/downsoft/201.htm http://www.shop263.com/downsoft/202.htm http://www.shop263.com/downsoft/203.htm http://www.shop263.com/downsoft/204.htm http://www.shop263.com/downsoft/205.htm http://www.shop263.com/downsoft/206.htm http://www.shop263.com/downsoft/207.htm http://www.shop263.com/downsoft/208.htm http://www.shop263.com/downsoft/209.htm http://www.shop263.com/downsoft/210.htm http://www.shop263.com/downsoft/211.htm http://www.shop263.com/downsoft/212.htm http://www.shop263.com/downsoft/213.htm http://www.shop263.com/downsoft/214.htm http://www.shop263.com/downsoft/215.htm http://www.shop263.com/downsoft/216.htm http://www.shop263.com/downsoft/217.htm http://www.shop263.com/downsoft/218.htm http://www.shop263.com/downsoft/219.htm http://www.shop263.com/downsoft/220.htm http://www.shop263.com/downsoft/221.htm http://www.shop263.com/downsoft/222.htm http://www.shop263.com/downsoft/223.htm http://www.shop263.com/downsoft/224.htm http://www.shop263.com/downsoft/225.htm http://www.shop263.com/downsoft/226.htm http://www.shop263.com/downsoft/227.htm http://www.shop263.com/downsoft/228.htm http://www.shop263.com/downsoft/229.htm http://www.shop263.com/downsoft/230.htm http://www.shop263.com/downsoft/231.htm http://www.shop263.com/downsoft/232.htm http://www.shop263.com/downsoft/233.htm http://www.shop263.com/downsoft/234.htm http://www.shop263.com/downsoft/235.htm http://www.shop263.com/downsoft/236.htm http://www.shop263.com/downsoft/237.htm http://www.shop263.com/downsoft/238.htm http://www.shop263.com/downsoft/239.htm http://www.shop263.com/downsoft/240.htm http://www.shop263.com/downsoft/241.htm http://www.shop263.com/downsoft/242.htm http://www.shop263.com/downsoft/243.htm http://www.shop263.com/downsoft/244.htm http://www.shop263.com/downsoft/245.htm http://www.shop263.com/downsoft/246.htm http://www.shop263.com/downsoft/247.htm http://www.shop263.com/downsoft/248.htm http://www.shop263.com/downsoft/249.htm http://www.shop263.com/downsoft/250.htm http://www.shop263.com/downsoft/251.htm http://www.shop263.com/downsoft/252.htm http://www.shop263.com/downsoft/253.htm http://www.shop263.com/downsoft/254.htm http://www.shop263.com/downsoft/255.htm http://www.shop263.com/downsoft/256.htm http://www.shop263.com/downsoft/257.htm http://www.shop263.com/downsoft/258.htm http://www.shop263.com/downsoft/259.htm http://www.shop263.com/downsoft/260.htm http://www.shop263.com/downsoft/261.htm http://www.shop263.com/downsoft/262.htm http://www.shop263.com/downsoft/263.htm http://www.shop263.com/downsoft/264.htm http://www.shop263.com/downsoft/265.htm http://www.shop263.com/downsoft/266.htm http://www.shop263.com/downsoft/267.htm http://www.shop263.com/downsoft/268.htm http://www.shop263.com/downsoft/269.htm http://www.shop263.com/downsoft/270.htm http://www.shop263.com/downsoft/271.htm http://www.shop263.com/downsoft/272.htm http://www.shop263.com/downsoft/273.htm http://www.shop263.com/downsoft/274.htm

http://www.haishun.net http://www.7766888.com http://www.7766888.com/introcom.htm http://www.7766888.com/introcn.htm http://www.7766888.com/u_puji.htm http://www.7766888.com/mysql.htm http://www.7766888.com/u_jingji.htm http://www.7766888.com/u_biaozhun.htm http://www.7766888.com/u_zhiqiang.htm http://www.7766888.com/w_jingji.htm http://www.7766888.com/w_biaozhun.htm http://www.haishun.net/p_mjds.htm http://www.haishun.net/p_mjds_dmmj.htm http://www.haishun.net/p_mjds_lwmj.htm http://www.haishun.net/p_mjds_yjs.htm http://www.haishun.net/cctv.htm http://www.haishun.net/p_cctv_jk.htm http://www.haishun.net/p_cctv_jk_sxj.htm http://www.haishun.net/p_cctv_jk_xsq.htm http://www.haishun.net/p_cctv_jk_yplxj.htm http://www.haishun.net/p_cctv_jk_yt.htm http://www.haishun.net/p_cctv_jk_zj.htm http://www.fm360.net http://www.fm360.net/page/001.html http://www.fm360.net/page/game.htm http://www.fm360.net/page/software.htm http://www.fm360.net/page/jinshi.htm http://www.fm360.net/page/music.htm http://www.fm360.net/page/053.html http://www.fm360.net/page/flash.htm http://www.fm360.net/page/newsweek.htm http://www.fm360.net/page/club.htm http://www.fm360.net/page/stock.htm http://www.fm360.net/page/love.htm http://www.fm360.net/page/netcard.htm http://www.fm360.net/page/025.html http://www.fm360.net/page/hardware.htm http://www.fm360.net/page/sport.htm http://www.fm360.net/page/shouji.htm http://www.fm360.net/page/ym.htm http://www.fm360.net/page/ylbj.htm http://www.fm360.net/page/car.htm http://www.jifamark.com/xhj.htm http://www.jifamark.com http://global.garrywa.com/index1.htm http://global.garrywa.com/recommend.asp http://global.garrywa.com/productclass.asp http://global.garrywa.com http://global.garrywa.com/order.htm http://fireworks.garrywa.com http://fireworks.garrywa.com/about.htm http://fireworks.garrywa.com/factory.htm http://fireworks.garrywa.com/index.htm http://fireworks.garrywa.com/pro.htm http://fireworks.garrywa.com/faq.htm http://fireworks.garrywa.com/safty.htm http://fireworks.garrywa.com/contact.htm http://fireworks.garrywa.com/productclass.asp http://www.funasia.cn http://www.funasia.cn/pinpai.asp http://www.funasia.cn/client/gb_list.asp http://www.funasia.cn/design/index.asp http://www.funasia.cn/funasiaHome/index.asp http://www.funasia.cn/jiancai.asp http://www.funasia.cn/shishang.asp http://www.funasia.cn/mall/AboutOur.htm http://www.sec66.com http://www.genset-sh.com http://www.sec66.com/ym001/pro.asp http://www.sec66.com/index001.htm http://www.sec66.com/ym001/intr.htm http://www.sec66.com/ym001/application.htm http://www.sec66.com/ym001/service.htm http://www.sec66.com/ym001/news.htm http://www.sec66.com/ym001/bbs.htm http://www.sec66.com/ym001/en_intr.htm http://www.asp169.com/marketingsoft1.htm http://www.asp169.com/marketingsoft2.htm http://www.asp169.com/zhaoguan.htm http://www.xsjby.cn http://www.asp169.com/zhaoguan2.htm http://www.xhhj.com.cn http://www.cndevi.com http://www.cndevi.com/About.asp http://www.cndevi.com/Product.asp http://www.cndevi.com/sale.asp http://www.cndevi.com/Went.asp http://www.sinostrategy.com http://www.sinostrategy.com/finalbexcel/index.asp http://www.sinostrategy.com/finalbexcel/service/index.asp http://www.sinostrategy.com/finalbexcel/expertise/index.asp http://www.sinostrategy.com/finalbexcel/practice/index.asp http://www.sinostrategy.com/finalbexcel/knowledge/index.asp http://www.sinostrategy.com/finalbexcel/connect/index.asp http://www.sinostrategy.com/finalbexcel/company/media_center/index.asp http://www.hdfix.com.cn