[issue21060] Better error message for setup.py upload command without sdist

Éric Araujo report at bugs.python.org
Tue Mar 25 09:46:37 CET 2014


New submission from Éric Araujo:

>From http://jamie.curle.io/blog/my-first-experience-adding-package-pypi/ :

    python setup.py upload
    running upload
    error: no dist file created in earlier command

  I thought I was going mad because I could see the dist file, it was right there in all of [its] tar and gzipped glory.

“earlier command” is misleading, as the dist file must be created by the same command line that calls upload (for now at least; see #12944).  The error message should be clearer, and if the doc doesn’t explain how this works, it should be improved too.

----------
components: Distutils
keywords: easy
messages: 214793
nosy: dstufft, eric.araujo
priority: normal
severity: normal
stage: needs patch
status: open
title: Better error message for setup.py upload command without sdist
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5

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


More information about the Python-bugs-list mailing list