Hi, I believe that the code is in fact optimized even if it has a .pyc extension. That is only convention as far as I understand. Try without -O at all and with a single -O and see if the file sizes change. If not, let me know and I'll look into it a bit more if I can get a spare moment.
Anthony On Thu, Oct 20, 2011 at 6:13 AM, QiangHuang <[email protected]> wrote: > Hi everyone : > > I used the following cmd 'cxfreeze log2xml.py -OO' to create a exe > file for my py file in cxfreeze 4.2.3, python 2.5 > > The exe was generated normally. However, the file size was too large to use. > > I renamed the exe file to a zip file. And I found that the cxfreeze > packed all the modules necessary in the form of pyc. > > Thus, I think if all the modules were packed in pyo format, the file > size for the exe would be much smaller. > > Could anybody help me, and tell me how to build the exe file by > packing the pyo modules ? > > Thanks in advance. > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Ciosco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > cx-freeze-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
