New submission from Chris Jerdonek:

$ python setup.py --dry-run register --repository 
http://testpypi.python.org/pypi
...
Registering Foo to http://pypi.python.org/pypi
Server response (200): OK

This is with a .pypirc file with a [server-login] section.

It seems like this can cause unintended registrations on PyPI, etc.  It also 
makes it unclear how to get the URL that setup() will use prior to the real 
invocation (e.g. if you would like to prompt the user with the URL they will be 
pushing to).

----------
assignee: eric.araujo
components: Distutils, Library (Lib)
messages: 179624
nosy: chris.jerdonek, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: setup.py register does not always respect --repository
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to