[Pythonmac-SIG] Question about py2app packages and includes options

Michael McCracken michael.mccracken at gmail.com
Tue Jul 17 20:03:37 CEST 2012


I am trying to package a main .app with helper apps in
Main.app/Resources/Helper.app, and I want to have a single
Resources/lib directory and a single Frameworks/ directory to cut down
on space.

So I'm tweaking the main app's includes and packages options to get
all the dependencies in one place, and relying on the automatic logic
won't work.

My question is: why does 'packages' copy the package recursively, but
not into the .zip, while 'includes' only gets single modules?
I was expecting packages to put the whole package in the .zip, and I
didn't find any explanation in the docs.

This is a minor point, since it works fine with 'packages' doing what
it does, it'd just be nice to get them into the zip.

Thanks,
-mike


More information about the Pythonmac-SIG mailing list