Dear py2exe specialists,
creating an exe bundle from our Zope3 Application some modules are not
loaded into the Modules.zip. I think this occurs because these modules
are not imported directly in the python code but only by the Zope3
adapter mechanism. It seems clear to me, that py2exe can not follow
references to dynamically loaded modules that are only mentioned in
configuration files (zcml).
When i try to append the missing modules to the Modules.zip after py2exe
has finshed these modules seem to be ignored at runtime.
My questions therefore are:
how can i force py2exe to include a list of arbitrary modules into the
zipfile? Is there something like extra_modules?
Or is there a kind of load map that can be manipulated?
thanks for any hint