[XML-SIG] setup.py question

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Fri, 16 Mar 2001 10:24:29 +0100 (CET)


On 16 Mar 2001, Jérôme Marant wrote:

> 
> Hi,
> 
>   Is there a good reason for installing PyXML in the _xmlplus
>   for Python 2.0 rather that xml for the previous versions ?
>   This change is breaking applications which are using
>   import xml. 

Using xml would conflict with the core xml module in Python 2.0. There is
a change in the the __init__.py of the core xml package which checks for
_xmlplus and uses it if it is found, so this should not beak Python 1.5
application using import xml to import PyXML.

The issue was discussed in August (a little) and September 2000 (a lot),
and kept the list busy for quite a while. You may want to check the
archives
(http://mail.python.org/pipermail/xml-sig/2000-September/thread.html). The
threads were 'Python Package Name', 'Uniform interface with Python 2.0',
'namespace collision between lib/xml and site-packages/xml'.

Cheers.

Alexandre Fayolle
-- 
http://www.logilab.com 
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).