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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21060>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to