[Pythonmac-SIG] Py2App and third-party .egg dependencies
Tobias Rodäbel
tobias.rodaebel at mac.com
Tue Aug 28 22:49:07 CEST 2007
On Tuesday, August 28, 2007, at 13:07 Ronald Oussoren 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.
I'm very interested in having a look at this patch. :-)
> 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).
Why do you see the need of rewriting some bits of those eggs? I don't
know if I really understand the problem. Maybe setting the
environment variable PYTHON_EGG_CACHE helps. Or
pkg_resources.set_extraction_path(path) as described here http://
peak.telecommunity.com/DevCenter/PkgResources#resource-extraction
Cheers,
Tobias
More information about the Pythonmac-SIG
mailing list