Skip to content

Commit 2fa28ca

Browse files
authored
Make twine testing instructions more explicit (#3398)
1 parent 0f92c18 commit 2fa28ca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/development/reviewing-patches.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ In the command above,
122122

123123
- ``<path to distribution>`` should be a path to a distribution file (or
124124
directory of distribution files) of the package you would like to test,
125-
likely created by running ``python setup.py``.
125+
likely created by running ``python setup.py sdist``. See the `Python
126+
Packaging User Guide`_ for instructions on how to create a distribution
127+
file or directory.
126128

127129
- ``<username>`` is the username of the account you would like to test with.
128130
Note that your current PyPI username may not exist in the development
@@ -151,3 +153,5 @@ Merge requirements
151153
.. _`Code of Conduct`: https://www.pypa.io/en/latest/code-of-conduct/
152154

153155
.. _`twine`: https://github.com/pypa/twine
156+
157+
.. _`Python Packaging User Guide`: https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project

0 commit comments

Comments
 (0)