[New-bugs-announce] [issue16926] setup.py register does not always respect --repository

Chris Jerdonek report at bugs.python.org
Fri Jan 11 05:24:01 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue16926>
_______________________________________


More information about the New-bugs-announce mailing list