This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author herzbube
Recipients herzbube, tarek
Date 2009-09-17.17:44:47
SpamBayes Score 1.115887e-05
Marked as misclassified No
Message-id <1253209489.54.0.992452423399.issue6860@psf.upfronthosting.co.za>
In-reply-to
Content
>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
History
Date User Action Args
2009-09-17 17:44:50herzbubesetrecipients: + herzbube, tarek
2009-09-17 17:44:49herzbubesetmessageid: <1253209489.54.0.992452423399.issue6860@psf.upfronthosting.co.za>
2009-09-17 17:44:48herzbubelinkissue6860 messages
2009-09-17 17:44:48herzbubecreate