[Python-Dev] Sharing expat instances

Fredrik Lundh fredrik at pythonware.com
Wed Dec 14 17:51:09 CET 2005


Phillip J. Eby wrote.

> >my current idea is to
> >
> >     1.  include it under a different name (_elementtree.so)
> >
> >     2.  add a cElementTree.py under xml.etree, which simply does
> >
> >             from _elementtree import *
> >
> >does anyone have a better idea ?
>
> I was under the impression that simply installing cElementTree.so in the
> relevant package directory would work; this is what the distutils do for
> extensions with a package name.

it would work, of course, but the core puts all the binaries in a separate
directory (lib-dynload on unix, DLLs on windows, etc).

do we really want to put executables in other locations ?

</F>





More information about the Python-Dev mailing list