[Zope3-dev] Re: Core dump with z3
Barry Warsaw
barry@python.org
29 Apr 2003 10:46:34 -0400
On Tue, 2003-04-29 at 10:42, Fred L. Drake, Jr. wrote:
> Jeremy Hylton writes:
> > Python 2.3 distutils supports this feature and setup.py has the
> > necessary declarations to make them work. Folks using Python 2.2 would
> > probably benefit from installing the 2.3 distutils in their
> > site-packages.
>
> No, they won't. site-packages is searched last, so it can't override
> the standard library. It could be dropped into the top of the Zope
> source tree, next to the setup.py script; that would cause the imports
> to work right at least.
We already have machinery for doing stuff like this. You should put
2.3's distutils in src/pythonlib/compat22. setup.py probably doesn't
know to hack its path to point here though.
-Barry