From: . <rem...@gm...> - 2010-03-16 21:16:48
|
Yeah I tried the data_files option, it doesn't do what you think. You'd expect it to put the files into the zipfile or the exe (if you bundle and use zipfile=None), but, it simply doesn't. :( On Tue, Mar 16, 2010 at 4:04 PM, Daniel Pryden <da...@pr...> wrote: > Sounds like you may want the data_files option. It's documented in the > wiki here: http://py2exe.org/index.cgi/data_files . Alternatively, you > might be interested in this: http://py2exe.org/index.cgi/CustomDataInExe . > > Others on the list will probably need to provide more information, > though, since I've never actually used this approach. (I always just > use an installer instead.) > > - Daniel. > > On 3/16/2010 1:28 PM, . wrote: > > Okay well what about OTHER data files / directories? It seems only > > python dependencies can be bundled.. not actual data files.. :/ > > > > On Tue, Mar 16, 2010 at 1:56 PM, Daniel Pryden <da...@pr... > > <mailto:da...@pr...>> wrote: > > > > On 3/15/2010 7:09 AM, . wrote: > > > Is there any way to bundle in the C runtime DLL??? > > > > > > > Nope, because the stub executable py2exe uses is compiled against the > > same version of the C runtime as Python. So the bootstrapper > executable > > needs the C runtime before it can even begin unpacking the resources > > bundled into the executable file. > > > > This problem isn't unique to Python or py2exe -- in fact, any > > programming language with a runtime library and dynamic linkage will > run > > into the same issue. This is the reason installers were invented in > the > > first place. > > > > - Daniel. > > > > > > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |