I'm trying to use py2app to build an app bundle for an application that,
at runtime, imports different backend packages based on the environment
it finds itself running in. It then uses a redirect mechanism to
import symbols from within this backend package. Since I know what I'm
bundling, I know what packages to include but I can't seem to figure out
how to tell py2app to include *ALL* modules within that package, i.e.
all modules in all sub-packages. My situation is also complicated by
the fact that the package in question is inside of a namespace package.
I've tried various combinations of things such as:
1) setting 'includes' to 'python.path.to.package.*' but that only
includes the modules in the top-level of the package
2) setting 'packages' to 'python.path.to.package' but I get an error
saying that "No module to 'path' (because 'python' is a namespace package?)
and a bunch of other attempts.
BTW: Are there some docs that clearly describe the difference between
the options 'includes', 'packages', 'modules'? I can't seem to find any
after numerous searches for py2app or py2exe docs.
-- Dave
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig