This can submit information about your software on pypi:
python setup.py register
But there is not a similar command for submitting information to freshmeat.
How could I write a distutils.Command that would let me do the following?
python setup.py freshmeat-submit
Comments:
It should be fairly easy; I’d say freshmeat API will be straightforward.
For python site, for setup() function in setup.py, give this argument:
entry_points = {
'distutils.commands' : [
'freshmeat-submit = freshsubmitter.submit:SubmitToFreshMeat',
],
},
where freshsubmitter is your new pakcage, submit is module inside it and SubmitToFreshMeat is from distutils.command.config.config subclass.
Please be aware that entry_points are global, so you should distribute your command as separate package; bundling it with every package will cause conflicts.