[issue7202] "python setup.py cmd --verbose" does not set verbosity

Milan Oberkirch report at bugs.python.org
Sat Jul 13 06:42:35 EDT 2019


Milan Oberkirch <milan.py at oberkirch.org> added the comment:

The help states:

> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

so I would argue that setup.py ignoring global_opts after cmd1 is not a bug.

But I do think that the fact that "python setup.py build --dry-run" does not prevent the build from running is not ideal.

Maybe throwing an error for misplaced global options is the best solution?

----------
nosy: +zvyn

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue7202>
_______________________________________


More information about the Python-bugs-list mailing list