[Distutils] Problem upgrading docutils with setuptools

Bob Ippolito bob at redivi.com
Wed Jan 25 18:48:03 CET 2006


On Jan 25, 2006, at 9:31 AM, Phillip J. Eby wrote:

> At 02:53 PM 1/25/2006 +0100, Maciek Starzyk wrote:
>> Then upgrade to docutils 0.4.
>> Note that setup says "roman" module is already there. It was  
>> installed
>> as a part of docutils 0.3.9. At the moment when setup checks for
>> module roman - docutils 0.3.9 egg is still on the PYTHONPATH and  
>> therefore
>> "roman" is not installed.
>
> A simple fix is to do "easy_install -m docutils" before the  
> upgrade, as
> this will remove the existing version from the .pth file.

Another simple fix is just to run easy_install docutils a second time  
if you had it previously installed.  Its setup.py script is stupid  
and fragile.

-bob



More information about the Distutils-SIG mailing list