[New-bugs-announce] [issue27320] ./setup.py --help-commands should sort extra commands
Antony Lee
report at bugs.python.org
Tue Jun 14 13:45:47 EDT 2016
New submission from Antony Lee:
Currently, `./setup.py --help-commands` displays extra commands in a random (dict iteration, probably?) order, as can be seen with the following minimal example:
from distutils.command.build_py import build_py
from distutils.core import setup
class foo(build_py): pass
class bar(build_py): pass
setup(cmdclass={"foo": foo, "bar": bar})
(`./setup.py --help-commands` will sometimes display `foo` before `bar`, sometimes `bar` before `foo`.)
For consistency, and especially because setuptools adds a lot of extra commands, it would be nice if the help listing these extra commands was sorted instead.
----------
components: Distutils
messages: 268576
nosy: Antony.Lee, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: ./setup.py --help-commands should sort extra commands
versions: Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27320>
_______________________________________
More information about the New-bugs-announce
mailing list