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 <rep...@bugs.python.org> <http://bugs.python.org/issue27320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com