[XML-SIG] Test/uninstall PyXML? (Was: Preparing for PyXML 0.8)

Alexandre Alexandre.Fayolle@logilab.fr
Wed, 24 Jul 2002 11:35:52 +0200


On Wed, Jul 24, 2002 at 11:27:56AM +0200, Dinu Gherman wrote:
> Martin v. Loewis:
> 
> >I'm planning to release PyXML 0.8 in a week from now (i.e. next
> >Wednesday or so). If you have any changes that should go into the
> >release, please apply them now. Likewise, if you know of any patches
> >on SF, or bug reports, that should be considered for this release,
> >please let us know.
> 
> Just looked into the testsuite... Is there a way to install PyXML
> such that one could run the test suite but not upgrade the local
> std. library to PyXML? Or, alternatively, how easy is it to unin-
> stall PyXML again (for some reason I think it's not quite easy)?

Removing the _xmlplus directory should uninstall PyXML, unless I'm
heavily mistaken. 

In order to preserve the standard xml modules, you should install pyxml
to a non default directory. I usually use 
$ python setup.py install --prefix $HOME 

which causes the installation to go in ~/lib/python2.1/site-packages/_xmlplus, 
with ~/lib/python2.1/site-packages/ being in my PYTHONPATH. By editing
the PYTHONPATH, you can switch back to the default python modules.



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