[Distutils] py2exe and eggs

Jay Parlar parlar at gmail.com
Fri Aug 19 18:20:10 CEST 2005

Sorry to relaunch this topic, but I continue to have general problems
with eggs and py2exe.

Is there any way that easy_install can be used to install an egg, but
"un-egg" it, ie. install it into a directory in site-packages, as
would normally be done if just distutils were being used?

I love that RuleDispatch and PyProtocols are now distributed as eggs,
but if I could somehow install them without them being eggs, that'd be
very useful (to me, and some colleagues).

Or is my only option right now to check them out of SVN, modify
setup.py, and install like that?

Jay P.

On 8/16/05, Jay Parlar <parlar at gmail.com> wrote:
> On 8/16/05, Kevin Dangoor <dangoor at gmail.com> wrote:
> > Your eggs.pth should appear in the generated exe directory, right next
> > to your exe file itself, and should have the names of the eggs without
> > any other path on them (just the basename).
> That's exactly what I've got, but it's a no-go. I'll keep trying.
> On 8/16/05, Phillip J. Eby <pje at telecommunity.com> wrote:
> >
> > If all else fails, 'import site; addsitedir(".")' might do the trick.
> That seems to work about as well as sys.path.append("."), but I still
> need to do individual pkg_resources.require("...") calls in my main
> file.
> I guess until py2exe becomes egg aware, it's all going to be nasty hacks anyway.
> Thanks for all the help.
> Jay P.

More information about the Distutils-SIG mailing list