Skip to content

Commit 34af15d

Browse files
authored
Merge pull request #960 from bhrutledge/copy-edit-testpypi
Copy-edit TestPyPI guide
2 parents c1b1ce1 + d284b7d commit 34af15d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

source/guides/using-testpypi.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ Registering your account
1313
------------------------
1414

1515
Because TestPyPI has a separate database from the live PyPI, you'll need a
16-
separate user account for specifically for TestPyPI. Go to
16+
separate user account specifically for TestPyPI. Go to
1717
https://test.pypi.org/account/register/ to register your account.
1818

19-
.. Note:: The database for TestPyPI may be periodically pruned, so it is not
19+
.. note:: The database for TestPyPI may be periodically pruned, so it is not
2020
unusual for user accounts to be deleted.
2121

2222

2323
Using TestPyPI with Twine
2424
-------------------------
2525

2626
You can upload your distributions to TestPyPI using :ref:`twine` by specifying
27-
the ``--repository`` flag
27+
the ``--repository`` flag:
2828

2929
.. code-block:: bash
3030
@@ -38,8 +38,8 @@ your project to appear on the site.
3838
Using TestPyPI with pip
3939
-----------------------
4040

41-
You can tell pip to download packages from TestPyPI instead of PyPI by
42-
specifying the ``--index-url`` flag
41+
You can tell :ref:`pip` to download packages from TestPyPI instead of PyPI by
42+
specifying the ``--index-url`` flag:
4343

4444
.. tab:: Unix/macOS
4545

@@ -53,21 +53,21 @@ specifying the ``--index-url`` flag
5353
5454
py -m pip install --index-url https://test.pypi.org/simple/ your-package
5555
56-
If you want to allow pip to also pull other packages from PyPI you can
56+
If you want to allow pip to also download packages from PyPI, you can
5757
specify ``--extra-index-url`` to point to PyPI. This is useful when the package
5858
you're testing has dependencies:
5959

6060
.. tab:: Unix/macOS
6161

6262
.. code-block:: bash
6363
64-
python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple your-package
64+
python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ your-package
6565
6666
.. tab:: Windows
6767

6868
.. code-block:: bat
6969
70-
py -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple your-package
70+
py -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ your-package
7171
7272
Setting up TestPyPI in :file:`.pypirc`
7373
--------------------------------------

0 commit comments

Comments
 (0)