Skip to content

Commit c1a1b0f

Browse files
committed
Advise users to use Test PyPI first
Ref. #11 and pypa/packaging.python.org#145
1 parent d39f6af commit c1a1b0f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.rst

+9-2
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,19 @@ Usage
6363
6464
$ python setup.py sdist bdist_wheel
6565
66-
2. Upload with ``twine``:
66+
2. Upload with ``twine`` to `Test PyPI`_ and verify things look right:
67+
68+
.. code-block:: console
69+
70+
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
71+
72+
3. Upload to `PyPI`_:
6773

6874
.. code-block:: console
6975
7076
$ twine upload dist/*
7177
72-
3. Done!
78+
4. Done!
7379

7480
More documentation on using ``twine`` to upload packages to PyPI is in
7581
the `Python Packaging User Guide`_.
@@ -230,6 +236,7 @@ trackers, chat rooms, and mailing lists is expected to follow the
230236
.. _`a utility`: https://pypi.org/project/twine/
231237
.. _`publishing`: https://packaging.python.org/tutorials/distributing-packages/
232238
.. _`PyPI`: https://pypi.org
239+
.. _`Test PyPI`: https://packaging.python.org/guides/using-testpypi/
233240
.. _`Python Packaging User Guide`: https://packaging.python.org/tutorials/distributing-packages/
234241
.. _`documentation`: http://twine.readthedocs.io/
235242
.. _`developer documentation`: https://twine.readthedocs.io/en/latest/contributing.html

0 commit comments

Comments
 (0)