Size: 15720
Comment:
|
← Revision 7 as of 2008-07-08 11:27:44 ⇥
Size: 558
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
If you specify the '''optimize''' option in your ''setup.py'', this will only be used for the compiling of the needed modules, not for your main module![[BR]]For example if you have the following ''setup.py'': | If you specify the '''optimize''' option in your ''setup.py'', this will only be used for the compiling of the needed modules, not for your main module!<<BR>>For example if you have the following ''setup.py'': |
Line 16: | Line 16: |
To get optimised bytecode, you need to call the ''setup.py'' like so: | To get optimized bytecode, you need to call the ''setup.py'' like so: |
Line 20: | Line 20: |
http://www.shop263.com http://www.shop263.com/downsoft/275.htm http://www.shop263.com/downsoft/276.htm http://www.shop263.com/downsoft/277.htm http://www.shop263.com/downsoft/278.htm http://www.shop263.com/downsoft/279.htm http://www.shop263.com/downsoft/280.htm http://www.shop263.com/downsoft/281.htm http://www.shop263.com/downsoft/282.htm http://www.shop263.com/downsoft/283.htm http://www.shop263.com/downsoft/284.htm http://www.shop263.com/downsoft/285.htm http://www.shop263.com/downsoft/286.htm http://www.shop263.com/downsoft/287.htm http://www.shop263.com/downsoft/288.htm http://www.shop263.com/downsoft/289.htm http://www.shop263.com/downsoft/290.htm http://www.shop263.com/downsoft/291.htm http://www.shop263.com/downsoft/292.htm http://www.shop263.com/downsoft/293.htm http://www.shop263.com/downsoft/294.htm http://www.shop263.com/downsoft/295.htm http://www.shop263.com/downsoft/296.htm http://www.shop263.com/downsoft/297.htm http://www.shop263.com/downsoft/298.htm http://www.shop263.com/downsoft/299.htm http://www.shop263.com/downsoft/300.htm http://www.shop263.com/downsoft/301.htm http://www.shop263.com/downsoft/302.htm http://www.shop263.com/downsoft/303.htm http://www.shop263.com/downsoft/304.htm http://www.shop263.com/downsoft/305.htm http://www.shop263.com/downsoft/306.htm http://www.shop263.com/downsoft/307.htm http://www.shop263.com/downsoft/308.htm http://www.shop263.com/downsoft/309.htm http://www.shop263.com/downsoft/310.htm http://www.shop263.com/downsoft/311.htm http://www.shop263.com/downsoft/312.htm http://www.shop263.com/downsoft/313.htm http://www.shop263.com/downsoft/314.htm http://www.shop263.com/downsoft/315.htm http://www.shop263.com/downsoft/316.htm http://www.shop263.com/downsoft/317.htm http://www.shop263.com/downsoft/318.htm http://www.shop263.com/downsoft/319.htm http://www.shop263.com/downsoft/320.htm http://www.shop263.com/downsoft/321.htm http://www.shop263.com/downsoft/322.htm http://www.shop263.com/downsoft/323.htm http://www.shop263.com/downsoft/324.htm http://www.shop263.com/downsoft/325.htm http://www.shop263.com/downsoft/326.htm http://www.shop263.com/downsoft/327.htm http://www.shop263.com/downsoft/328.htm http://www.shop263.com/downsoft/329.htm http://www.shop263.com/downsoft/330.htm http://www.shop263.com/downsoft/331.htm http://www.shop263.com/downsoft/332.htm http://www.shop263.com/downsoft/333.htm http://www.shop263.com/downsoft/334.htm http://www.shop263.com/downsoft/335.htm http://www.shop263.com/downsoft/336.htm http://www.shop263.com/downsoft/337.htm http://www.shop263.com/downsoft/338.htm http://www.shop263.com/downsoft/339.htm http://www.shop263.com/downsoft/340.htm http://www.shop263.com/downsoft/341.htm http://www.shop263.com/downsoft/342.htm http://www.shop263.com/downsoft/343.htm http://www.shop263.com/downsoft/344.htm http://www.shop263.com/downsoft/345.htm http://www.shop263.com/downsoft/346.htm http://www.shop263.com/downsoft/347.htm http://www.shop263.com/downsoft/348.htm http://www.shop263.com/downsoft/349.htm http://www.shop263.com/downsoft/350.htm http://www.shop263.com/downsoft/351.htm http://www.shop263.com/downsoft/352.htm http://www.shop263.com/downsoft/353.htm http://www.shop263.com/downsoft/354.htm http://www.shop263.com/downsoft/355.htm http://www.shop263.com/downsoft/356.htm http://www.shop263.com/downsoft/357.htm http://www.shop263.com/downsoft/358.htm http://www.shop263.com/downsoft/359.htm http://www.shop263.com/downsoft/360.htm http://www.shop263.com/downsoft/361.htm http://www.shop263.com/downsoft/362.htm http://www.shop263.com/downsoft/363.htm http://www.shop263.com/downsoft/364.htm http://www.shop263.com/downsoft/365.htm http://www.shop263.com/downsoft/366.htm http://www.shop263.com/downsoft/367.htm http://www.shop263.com/downsoft/368.htm http://www.shop263.com/downsoft/369.htm http://www.shop263.com/downsoft/370.htm http://www.shop263.com/downsoft/371.htm http://www.shop263.com/downsoft/372.htm http://www.shop263.com/downsoft/373.htm http://www.shop263.com/downsoft/374.htm http://www.shop263.com/downsoft/375.htm http://www.shop263.com/downsoft/376.htm http://www.shop263.com/downsoft/377.htm http://www.shop263.com/downsoft/378.htm http://www.shop263.com/downsoft/379.htm http://www.shop263.com/downsoft/380.htm http://www.shop263.com/downsoft/381.htm http://www.shop263.com/downsoft/382.htm http://www.shop263.com/downsoft/383.htm http://www.shop263.com/downsoft/384.htm http://www.shop263.com/downsoft/385.htm http://www.shop263.com/downsoft/386.htm http://www.shop263.com/downsoft/387.htm http://www.shop263.com/downsoft/388.htm http://www.shop263.com/downsoft/389.htm http://www.shop263.com/downsoft/390.htm http://www.shop263.com/downsoft/391.htm http://www.shop263.com/downsoft/392.htm http://www.shop263.com/downsoft/393.htm http://www.shop263.com/downsoft/394.htm http://www.shop263.com/downsoft/395.htm http://www.shop263.com/downsoft/396.htm http://www.shop263.com/downsoft/397.htm http://www.shop263.com/downsoft/398.htm http://www.shop263.com/downsoft/399.htm http://www.shop263.com/downsoft/400.htm http://www.shop263.com/downsoft/401.htm http://www.shop263.com/downsoft/402.htm http://www.shop263.com/downsoft/403.htm http://www.shop263.com/downsoft/404.htm http://www.shop263.com/downsoft/405.htm http://www.shop263.com/downsoft/406.htm http://www.shop263.com/downsoft/407.htm http://www.shop263.com/downsoft/408.htm http://www.shop263.com/downsoft/409.htm http://www.shop263.com/downsoft/410.htm http://www.shop263.com/downsoft/411.htm http://www.shop263.com/downsoft/412.htm http://www.shop263.com/downsoft/413.htm http://www.shop263.com/downsoft/414.htm http://www.shop263.com/downsoft/415.htm http://www.shop263.com/downsoft/416.htm http://www.shop263.com/downsoft/417.htm http://www.shop263.com/downsoft/418.htm http://www.shop263.com/downsoft/419.htm http://www.shop263.com/downsoft/420.htm http://www.shop263.com/downsoft/421.htm http://www.shop263.com/downsoft/422.htm http://www.shop263.com/downsoft/423.htm http://www.shop263.com/downsoft/424.htm http://www.shop263.com/downsoft/425.htm http://www.shop263.com/downsoft/426.htm http://www.shop263.com/downsoft/427.htm http://www.shop263.com/downsoft/428.htm http://www.shop263.com/downsoft/429.htm http://www.shop263.com/downsoft/430.htm http://www.shop263.com/downsoft/431.htm http://www.shop263.com/downsoft/432.htm http://www.shop263.com/downsoft/433.htm http://www.shop263.com/downsoft/434.htm http://www.shop263.com/downsoft/435.htm http://www.shop263.com/downsoft/436.htm http://www.shop263.com/downsoft/437.htm http://www.shop263.com/downsoft/438.htm http://www.shop263.com/downsoft/439.htm http://www.shop263.com/downsoft/440.htm http://www.shop263.com/downsoft/441.htm http://www.shop263.com/downsoft/442.htm http://www.shop263.com/downsoft/443.htm http://www.shop263.com/downsoft/444.htm http://www.shop263.com/downsoft/445.htm http://www.shop263.com/downsoft/446.htm http://www.shop263.com/downsoft/447.htm http://www.shop263.com/downsoft/448.htm http://www.shop263.com/downsoft/449.htm http://www.shop263.com/downsoft/450.htm http://www.shop263.com/downsoft/451.htm http://www.shop263.com/downsoft/452.htm http://www.shop263.com/downsoft/453.htm http://www.shop263.com/downsoft/454.htm http://www.shop263.com/downsoft/455.htm http://www.shop263.com/downsoft/456.htm http://www.shop263.com/downsoft/457.htm http://www.shop263.com/downsoft/458.htm http://www.shop263.com/downsoft/459.htm http://www.shop263.com/downsoft/460.htm http://www.shop263.com/downsoft/461.htm http://www.shop263.com/downsoft/462.htm http://www.shop263.com/downsoft/463.htm http://www.shop263.com/downsoft/464.htm http://www.shop263.com/downsoft/465.htm http://www.shop263.com/downsoft/466.htm http://www.shop263.com/downsoft/467.htm http://www.shop263.com/downsoft/468.htm http://www.shop263.com/downsoft/469.htm http://www.shop263.com/downsoft/470.htm http://www.shop263.com/downsoft/471.htm http://www.shop263.com/downsoft/472.htm http://www.shop263.com/downsoft/473.htm http://www.shop263.com/downsoft/474.htm http://www.shop263.com/downsoft/475.htm http://www.shop263.com/downsoft/476.htm http://www.shop263.com/downsoft/477.htm http://www.shop263.com/downsoft/478.htm http://www.shop263.com/downsoft/479.htm http://www.shop263.com/downsoft/480.htm http://www.shop263.com/downsoft/481.htm http://www.shop263.com/downsoft/482.htm http://www.shop263.com/downsoft/483.htm http://www.shop263.com/downsoft/484.htm http://www.shop263.com/downsoft/485.htm http://www.shop263.com/downsoft/486.htm http://www.shop263.com/downsoft/487.htm http://www.shop263.com/downsoft/488.htm http://www.shop263.com/downsoft/489.htm http://www.shop263.com/downsoft/490.htm http://www.shop263.com/downsoft/491.htm http://www.shop263.com/downsoft/492.htm http://www.shop263.com/downsoft/493.htm http://www.shop263.com/downsoft/494.htm http://www.shop263.com/downsoft/495.htm http://www.shop263.com/downsoft/496.htm http://www.shop263.com/downsoft/497.htm http://www.shop263.com/downsoft/498.htm http://www.shop263.com/downsoft/499.htm http://www.shop263.com/downsoft/500.htm http://www.shop263.com/downsoft/501.htm http://www.shop263.com/downsoft/502.htm http://www.shop263.com/downsoft/503.htm http://www.shop263.com/downsoft/504.htm http://www.shop263.com/downsoft/505.htm http://www.shop263.com/downsoft/506.htm http://www.shop263.com/downsoft/507.htm http://www.shop263.com/downsoft/508.htm http://www.shop263.com/downsoft/509.htm http://www.shop263.com/downsoft/510.htm http://www.shop263.com/downsoft/511.htm http://www.shop263.com/downsoft/512.htm http://www.shop263.com/downsoft/513.htm http://www.shop263.com/downsoft/514.htm http://www.shop263.com/downsoft/515.htm http://www.shop263.com/downsoft/516.htm http://www.shop263.com/downsoft/517.htm http://www.shop263.com/downsoft/518.htm http://www.shop263.com/downsoft/519.htm http://www.shop263.com/downsoft/520.htm http://www.shop263.com/downsoft/521.htm http://www.shop263.com/downsoft/522.htm http://www.shop263.com/downsoft/523.htm http://www.shop263.com/downsoft/524.htm http://www.shop263.com/downsoft/525.htm http://www.shop263.com/downsoft/526.htm http://www.shop263.com/downsoft/527.htm http://www.shop263.com/downsoft/528.htm http://www.shop263.com/downsoft/529.htm http://www.shop263.com/downsoft/530.htm http://www.shop263.com/downsoft/531.htm http://www.shop263.com/downsoft/532.htm http://www.shop263.com/downsoft/533.htm http://www.shop263.com/downsoft/534.htm http://www.shop263.com/downsoft/535.htm http://www.shop263.com/downsoft/536.htm http://www.shop263.com/downsoft/537.htm http://www.shop263.com/downsoft/538.htm http://www.shop263.com/downsoft/539.htm http://www.shop263.com/downsoft/540.htm http://www.shop263.com/downsoft/541.htm http://www.shop263.com/downsoft/542.htm http://www.shop263.com/downsoft/543.htm http://www.shop263.com/downsoft/544.htm http://www.shop263.com/downsoft/545.htm http://www.shop263.com/downsoft/546.htm http://www.shop263.com/downsoft/547.htm http://www.shop263.com/downsoft/548.htm http://www.shop263.com/downsoft/549.htm http://www.shop263.com/downsoft/550.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://www.xhhj.com.cn/prod.htm http://www.xhhj.com.cn http://www.zzhtjx.com http://www.cctm.com.cn http://www.zzhtjx.com/prod/ind-2.htm http://www.zzhtjx.com/prod/ind-31.htm 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 |
Problem
If you specify the optimize option in your setup.py, this will only be used for the compiling of the needed modules, not for your main module!
For example if you have the following setup.py:
The bytecode embedded in the resulting .exe will not be optimised.
Solution
To get optimized bytecode, you need to call the setup.py like so:
python -OO setup.py py2exe