Differences between revisions 1 and 2
Revision 1 as of 2013-02-09 01:10:50
Size: 390
Editor: RichardJones
Comment:
Revision 2 as of 2013-07-27 09:50:06
Size: 1013
Editor: RichardJones
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
To upload packages to it: To upload packages to it you need to:

1. Register with the site. It has a different user database than the main PyPI server. It also gets cleaned out on a semi-regular basis.

2. Fill in your test PyPI credentials in your ~/.pypirc file. You should end up with something like this:

{{{
[distutils]
index-servers=
    pypi
    test

[test]
repository = https://testpypi.python.org/pypi
username = richard
password = <your password goes here>

[pypi]
repository = http://pypi.python.org/pypi
username = richard
password = <your password goes here>
}}}

3. Then use the test server URL when uploading or installing packages:

Test PyPI Server

Just learning the packaging ropes or trying some system integration out?

Why not use our new test PyPI server at https://testpypi.python.org/pypi

To upload packages to it you need to:

1. Register with the site. It has a different user database than the main PyPI server. It also gets cleaned out on a semi-regular basis.

2. Fill in your test PyPI credentials in your ~/.pypirc file. You should end up with something like this:

[distutils]
index-servers=
    pypi
    test

[test]
repository = https://testpypi.python.org/pypi
username = richard
password = <your password goes here>

[pypi]
repository = http://pypi.python.org/pypi
username = richard
password = <your password goes here>

3. Then use the test server URL when uploading or installing packages:

   python setup.py upload -r https://testpypi.python.org/pypi

To install packages from it:

    pip install -i https://testpypi.python.org/pypi <package name>

TestPyPI (last edited 2017-08-11 17:49:12 by rsyring)

Unable to edit the page? See the FrontPage for instructions.