Hi, I thought I would clear up a couple of misconceptions. The bytecode is all that is distributed, either in library.zip or appended directly to the executable. The source code is not distributed. That said, bytecode can be disassembled and the general structure of the application recovered -- the disassembled code doesn't look like much, though.
The executable does not perform an unzipping of anything but it does require the .so files since they are C extension modules and the application requires them. Hopefully that answers any further questions. Anthony On Fri, Feb 19, 2010 at 4:29 PM, Kris <[email protected]> wrote: > Patty, why do you need the library.zip file ? > > I had the impression that the .so files do not need to be distributed. > In other words, that the strength of cx_freeze is that it can provide a > stand-alone binary file that can be executed, and which does not need to > uncompress during runtime any .zip files or anything like that. At least > that's what it seems to me to be doing. > > Is this the case ? > > Another question, how does cx_freeze help protect the source code > distributed ? For example, does it prepare in its packaging only .pyc > files and ensures only those are distributed, or does it provide in the > final binary the source code in .py files ? > > > On Fri, 2010-02-19 at 10:21 -0700, Anthony Tuininga wrote: >> Hi, >> >> The cxfreeze script was intended as a quick and dirty method for >> freezing an application. All of the advanced features are in the >> distutils scripts -- including the one for creating a library.zip. >> Note that the library.zip only contains the pure Python modules; all >> of the C extensions (.so files) are still included in the distribution >> directory. If you want something to package it up you should look at >> using bdist_rpm in a distutils script. I'm not sure if bdist_dumb >> works but I believe it should as well if you don't want an RPM. >> >> Hope that helps. >> >> Anthony >> >> On Fri, Feb 19, 2010 at 9:43 AM, Patty Ackermann >> <[email protected]> wrote: >> > Hello, >> > >> > I have used the provided cxfreeze script that comes with cx_freeze. It >> > works great but I have a bunch of .so files that are in the current >> > distribution directory. I can't seem to find an option that creates a >> > "library.zip" file. I know there is one if you opt for the distutils >> > script. >> > Any help would be greatly appreciated. >> > Thanks. >> > >> > ------------------------------------------------------------------------------ >> > Download Intel® Parallel Studio Eval >> > Try the new software tools for yourself. Speed compiling, find bugs >> > proactively, and fine-tune applications for parallel performance. >> > See why Intel Parallel Studio got high marks during beta. >> > http://p.sf.net/sfu/intel-sw-dev >> > _______________________________________________ >> > cx-freeze-users mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users >> > >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> cx-freeze-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > cx-freeze-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
