[Distutils] setuptools docs mention "distutils.log" ?

zooko zooko at zooko.com
Thu Dec 20 18:35:44 CET 2007


On Dec 20, 2007, at 9:55 AM, Phillip J. Eby wrote:

> At 09:34 PM 12/19/2007 -0700, zooko wrote:
>> Folks:
>>
>> The setuptools page suggests that authors of revision control plugins
>> can use "distutils.log.warn", but my version of distutils has no such
>> name "log".
>
> What version of distutils is that?  Python 2.3, 2.4, and 2.5 (the  
> only supported versions at this time) all include a distutils.log  
> module.

Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import distutils
 >>> distutils.log
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'log




More information about the Distutils-SIG mailing list