[New-bugs-announce] [issue7677] distutils, better error message for setup.py upload -sign without identity.

Rene Dudfield report at bugs.python.org
Mon Jan 11 16:22:34 CET 2010


New submission from Rene Dudfield <illume at users.sourceforge.net>:

hi,

When using setup.py upload --sign without --identity, gpg can give weird messages.

Rather than this error message:
"""running upload
gpg --detach-sign --local-user gn -a dist/pywebsite-0.1.18pre.tar.gz
gpg: skipped "gn": secret key not available
gpg: signing failed: secret key not available
error: command 'gpg' failed with exit status 2
make: *** [upload] Error 1"""

It might be nicer to also mention using --identity=, as well as a link to the documentation for --sign (url and also the help from "--help upload").

cheers,

----------
assignee: tarek
components: Distutils
messages: 97589
nosy: illume, tarek
severity: normal
status: open
title: distutils, better error message for setup.py upload -sign without identity.
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7677>
_______________________________________


More information about the New-bugs-announce mailing list