[Distutils] [issue73] setup.py --name prints warning messages to stdout, rather than stderr

Garrett Cooper yanegomi at gmail.com
Sun May 31 04:22:15 CEST 2009


On Fri, May 29, 2009 at 12:57 PM, Sridhar
Ratnakumar<setuptools at bugs.python.org> wrote:
>
> New submission from Sridhar Ratnakumar <sridharr at activestate.com>:
>
> Warning messages must be printed to stderr. This allows for a programattic way
> to find setup.py metadata.
>
>> pwd
> ../dap.plugins.sql-0.2.1
>
>> apy setup.py  --name 2> /dev/null
> 'dap.plugins' is declared as a package namespace, but 'dap' is not: please
> correct this in setup.py
> dap.plugins.sql
>
>> echo $?
> 0
>>
>
> ----------
> messages: 295
> nosy: srid
> priority: bug
> status: unread
> title: setup.py --name prints warning messages to stdout, rather than stderr

    It should be easy to filter / redirect critical, debug, error, and
warning messages to sys.stderr if there's a common logger for
setuptools...
My 2 cents,
-Garrett


More information about the Distutils-SIG mailing list