[Pythonmac-SIG] Py2App and third-party .egg dependencies

Owen Jacobson angrybaldguy at gmail.com
Wed Aug 29 02:44:28 CEST 2007


On 8/28/07, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
> On Tuesday, August 28, 2007, at 09:58AM, "Tobias Rodäbel" <tobias.rodaebel at mac.com> wrote:
> >Hi Owen,
> >
> >py2app (in particula modulegraph) cannot handle eggs in the right way.
>
> ... yet.  I have a patch for py2app & friends that deals with zipped packages on sys.path (that is, zipped eggs), but haven't managed to merge that yet.
>
> That is a partial fix for issues like this, I'd like to teach py2app about eggs, that is add an option to copy entire eggs into the application bundle (possibly rewriting some bits of those eggs to avoid creating .python-eggs turds in user home directories for extensions).
>
> >unzip the ZSI egg into a directory with the same name, delete the egg
> >and try the following setup.py
>
> Or install using "easy_install -Z" instead of unzipping.

Interesting.  That works, even though ZSI depends in turn on other
.egg distributions, which get correctly detected by modulegraph and
correctly unpacked and copied by py2app.

I wonder what it is about the ZSI .egg distribution that trips modulegraph up.

Anyways, thank you very much to you both, py2app is much happier now.

Good cheer,
Owen


More information about the Pythonmac-SIG mailing list