[Distutils] making setup less chatty by default

Michael Hudson mwh@python.net
Mon Jan 21 05:18:01 2002

"M.-A. Lemburg" <mal@lemburg.com> writes:

> Just to clarify: I don't have objections as to clean up the
> distutils self.verbose interface. Indeed, I would prefer to
> have clearly defined verbosity levels to choose from, e.g.

Me too.  I'll even write the code, so long as noone's in too much of a

> verbose 0 - give information about commands being run and
>             what part of the cake they are working on (and
>             nothing more) 

I think a reasonable guide for this level is how much noise "make"
makes, i.e. print commandline to be executed, echo command output,
don't mention skips.

> verbose 1 - give details about what the commands actually do
>             (or don't do, e.g. skipping actions)
> verbose 2 - any extra information which might be helpful
> The interface should work much like Python's: -v = level 1
> -vv = level 2.
> Note that warnings and errors should *always* be displayed
> (we might want to add verbose levels -1 and -2 which are
> set by providing a command line option -q and -qq resp. to
> force keeping quiet in these areas too).

We have -q already, don't we?

> Jeremy wants to move the "don't so" messages one level
> up. If the above scheme gets implemented, I'd be
> -0 on that one... I still believe that skip notices are
> just as important as build notices, but YMMV.

I don't really care.  Can't you bodge this with a .pydistutils.cfg

verbose: 1

or whatever.


  The "of course, while I have no problem with this at all, it's
  surely too much for a lesser being" flavor of argument always
  rings hollow to me.                       -- Tim Peters, 29 Apr 1998