[Distutils] "ignoring" eggs (was: Re: requiring python 2.5)
Phillip J. Eby
pje at telecommunity.com
Sun Jun 10 20:21:55 CEST 2007
At 01:45 AM 6/10/2007 -0500, Rick Ratzel wrote:
> I ended up setting enthought.__path__ like you suggested, and
> will probably
>stick with that rather than force users to upgrade to 0.7 right now. However,
>I'm curious about how this is addressed in 0.7. Is there a new API for doing
>this?
No; in 0.7 namespace packages are not automatically imported/created
when pkg_resources is imported. This means you would have the chance
to manipulate sys.path and/or the working_set before the other eggs
could get added to enthought.__path__.
More information about the Distutils-SIG
mailing list