Éric Araujo added the comment:
Given the current status of distutils (mostly used as a base for setuptools,
and maybe soon removed from stdlib), I am closing this.
--
resolution: -> wont fix
stage: needs patch -> resolved
status: open -> closed
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils -Distutils2
stage: - needs patch
versions: +Python 2.7, Python 3.3, Python 3.4 -3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1109659
Changes by Éric Araujo mer...@netwok.org:
--
versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1109659
___
Éric Araujo mer...@netwok.org added the comment:
Being able to write a global option after a command name seems a nice feature
to me, and the implementation should be straightforward: The base Command class
already adds some options like help to each subclass, it’s just a matter of
adding
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1109659
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1109659
___
Éric Araujo mer...@netwok.org added the comment:
“Global option” could be understood as “option that can be given to any
command”, i.e. “egg spam -d” == “egg -d spam”. Is it feasible to support such
and equivalence, too difficult or not desirable?
Regards
--
nosy: +merwok
Tarek Ziadé ziade.ta...@gmail.com added the comment:
yes, that's the expected behavior
*But* we could add a warning, that says that an option was unused.
--
assignee: - tarek
priority: normal - low
type: - feature request
versions: +Python 2.7, Python 3.1
Akira Kitada akit...@gmail.com added the comment:
Here's the usage of setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
and '--dry-run' is a global