Not sure if it fits your bill (or if it works, since I did not know how
testpypi) but you can put something like that in your .pypirc:
[distutils]
index-servers =
pypi
testpypi
[pypi]
username:public_pypi_login_if_needed
password:public_pypi_password_if_needed
[testpypi]
repository:https://testpypi.python.org
username:testpypi_login
password:testpypi_password
And specify which repository to use when registering/uploading via the
--repository (-r) option.
On Mon, Feb 2, 2015 at 11:10 PM, Erik Bray <[email protected]> wrote:
> On Sat, Jan 24, 2015 at 1:53 PM, Marc Abramowitz <[email protected]>
> wrote:
> >> You can re-run register as many times as you want which is all you need
> to adjust the README.
> >
> > Maybe true but it would be pretty awesome to solve
> https://bitbucket.org/pypa/pypi/issue/161/rest-formatting-fails-and-there-is-no-way
> because repeatedly registering and doing trial and error is also not a
> great experience and it wastes PyPI resources.
>
> I usually register on testpypi.python.org to assuage this fear.
> Granted it's a little annoying to do, because last I checked the only
> way to do this (may this is has been fixed--someone can correct me) is
> to change your .pypirc with credentials to testpypi.
>
> Has .pypirc been done away with yet?
>
> Erik
> _______________________________________________
> Distutils-SIG maillist - [email protected]
> https://mail.python.org/mailman/listinfo/distutils-sig
>
_______________________________________________
Distutils-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig