diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 915d3364311..092ec0d2208 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -907,8 +907,8 @@ Common commands: (see '--help-commands' for more) # -- Methods that operate on the Distribution ---------------------- - def announce(self, msg, level=1): - log.debug(msg) + def announce(self, msg, level=log.INFO): + log.log(level, msg) def run_commands(self): """Run each command that was seen on the setup script command line. diff --git a/Misc/NEWS b/Misc/NEWS index 1cdd83262c8..2f49fef5007 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -859,6 +859,8 @@ Core and Builtins Library ------- +- Issue #6413: Fixed the log level in distutils.dist for announce. + - Issue #6403: Fixed package path usage in build_ext. - Issue #6365: Distutils build_ext inplace mode was copying the compiled