[New-bugs-announce] [issue25392] setup.py --quiet doesn't silence "no previously-included directories" warnings from MANIFEST.in

Ned Batchelder report at bugs.python.org
Tue Oct 13 13:45:29 CEST 2015


New submission from Ned Batchelder:

The MANIFEST.in file for coverage.py excludes directories line doc/_build.  If I run "python setup.py --quiet develop", I get output like this:

    python3.5 setup.py --quiet develop
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'tests/eggsrc/dist'
    no previously-included directories found matching 'tests/eggsrc/*.egg-info'

This is because I'm running the command in a working tree that hasn't had the docs built yet.  But I need MANIFEST.in to exclude that directory for the case where I do run the command in dirty tree.

1) Why is it a warning to exclude directories that don't exist in the first place?  That's not a problem.

2) Why doesn't --quiet silence those warnings?

----------
messages: 252927
nosy: nedbat
priority: normal
severity: normal
status: open
title: setup.py --quiet doesn't silence "no previously-included directories" warnings from MANIFEST.in
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25392>
_______________________________________


More information about the New-bugs-announce mailing list