From: Alex Le Dain <alex@ps...> - 2006-06-19 05:49:43
I'm having trouble understanding something. I build an exe with 0.6.5
py2exe and cherrypy 2.1.0 and it worked fine.
I upgraded to cherrypy 2.2.1 and py2exe no longer copies all the
contents of one of the subpackages into the library.zip file. It does
copy some, but only three of the ~15 pyc files from cherrypy/filters.
I have tried manually moving these files into the build/blah/blah
package directory, but they don't get bundled into library.zip either.
Furthermore if I copy them into the zip file myself they don't seem to
solve the problem. So I understand that these files need to be
recompiled with relative paths in to reflect their final destination.
I've tried to include the 'filters' as a package, but this doesn't work
either the files are not included. I guess the filters are loaded only
by some file that is not loaded when the
How does py2exe decide what should be bundled? Does it look at the
import statements of only my source code and not the source code of the
site-packages themselves, because I am suspecting that the locations of
the sub packages in site-packages is incorrect.