Hi, >From what I understand this feature is enabled by special hooks that enable code to be loaded directly from the zip file. That code is very Windows specific since py2exe is Windows only. I suspect similar things could be done for Linux and Mac but they would each be quite a bit different and not a feature that I would be eager to work on. PyInstaller does something different which is to simply extract the zip file to a temporary directory and then run from there -- but I've never cared for that approach either. I generally prefer to build an MSI (Windows) or an RPM (Linux) or (hopefully in the future) a DMG (Mac) and simply install the application the "right" way. If those methods don't suit a simple zip file or tarball works just as effectively -- and the extracted files don't have any performance degradation or strange behaviors resulting from the code not expecting to be hooked. But that's my opinion. Feel free to disagree and tell me why if you wish. :-)
Anthony On Thu, Jul 22, 2010 at 1:17 AM, Hearn <lovehe...@gmail.com> wrote: > Hi, everyone. > How could I bundle everything, including the Python interpreter with > cx_Freeze. > Like py2exe does (with option bundle_files=2.) > Reference http://www.py2exe.org/index.cgi/SingleFileExecutable > I try to set build_exe = { > 'copy_dependent_files': False, > 'create_shared_zip': False, > 'append_script_to_exe': True, > 'include_in_shared_zip': False, > } > It create small one executable file, and it is not standalone. > Do you have any idea for this feature? > Thanks > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > cx-freeze-users mailing list > cx-freeze-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users