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

2018-02-18 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5530

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-18 Thread Éric Araujo

Éric Araujo  added the comment:

Fixed in all branches.  I messed up the ticket reference so some links are 
missing here.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-18 Thread Mariatta Wijaya

Mariatta Wijaya  added the comment:


New changeset eeb33651bfadcceea68bd27bb4c4d8de2e690656 by Mariatta (Éric 
Araujo) in branch '2.7':
[2.7] bpo-21060 Improve error message for "setup.py upload" without dist files 
(GH-5726).
https://github.com/python/cpython/commit/eeb33651bfadcceea68bd27bb4c4d8de2e690656


--
nosy: +Mariatta

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-18 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5526

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-18 Thread Éric Araujo

Change by Éric Araujo :


--
pull_requests: +5525

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-17 Thread Éric Araujo

Éric Araujo  added the comment:

Thanks for the feedback, I went with the cleaner phrasing.

--
versions: +Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-17 Thread Éric Araujo

Change by Éric Araujo :


--
pull_requests: +5511

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-11 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

I think the error message you suggested is better than the one in the current 
patch.  I've added a new patch with your improved message.

I haven't submitted or updated a patch since the migration to GitHub.  I can 
open a PR over on GitHub if that would make it easier for you.

--
Added file: https://bugs.python.org/file47437/issue21060-py38.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-01-28 Thread Éric Araujo

Éric Araujo  added the comment:

For improving the message, I am hesitating between adding to the existing 
message (hoping to help search engines find their way to improved docs):

«No dist file created in earlier command (e.g. setup.py sdist upload)» 

and rewriting it entirely:

«Must create and upload dist files in one command (e.g. setup.py sdist upload)»

--
assignee:  -> eric.araujo
stage: needs patch -> patch review
title: Better error message for setup.py upload command without sdist -> Better 
error message for setup.py upload command without sdist/bdist
versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-04-15 Thread Jeff Ramnani

Jeff Ramnani added the comment:

Attaching a patch with a (hopefully) more useful error message.

I didn't find a good place to add this information in the "Distributing Python 
Modules" section of the docs, but let me know if you had a place in mind.

--
keywords: +patch
nosy: +jramnani
Added file: http://bugs.python.org/file34898/issue21060-py35.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-03-25 Thread Éric Araujo

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com