Patrick Näf <[email protected]> added the comment:
>To be able to do this fix, I also need to change the way commands are
>registered in Distutils.
Hm, I thought commands were registered in the setup() function with the
cmdclass dict. Like this:
setup(
# "test" is the name that should be used for display
cmdclass = { "test" : TestClass },
)
And the dict key can then be used as the name to display. At least
"--help-commands" does it this way.
Please note that I don't want to criticize: I'm just a dumb user who
hasn't spent 5 seconds investigating how distutils works. I just
thought, maybe you have overlooked something and this could save you
some time...
Anyway, thanks for taking this on.
Patrick
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6860>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com