Skip to content

Commit c4c8214

Browse files
jniJon Wayne Parrott
authored andcommitted
Remove "twine register" reference in doc
Fixes #263.
1 parent 37edf1b commit c4c8214

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/distributing.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -766,20 +766,20 @@ when prompted.
766766
Register your project
767767
---------------------
768768

769-
Next, if this is the first release, you currently need to explicitly register your
770-
project prior to uploading.
769+
Next, if this is the first release, **unless you use twine**, you
770+
need to explicitly register your project prior to uploading. If you intend to
771+
upload your project using twine (see :ref:`Upload your distributions` below),
772+
you can skip this step, as twine will register and upload your project in one
773+
step.
771774

772-
There are three ways to do this:
775+
There are two ways to do register manually:
773776

774777
1. Use `the form on the PyPI website
775778
<https://pypi.python.org/pypi?%3Aaction=submit_form>`_, to upload your
776779
``PKG-INFO`` info located in your local project tree at
777780
``myproject.egg-info/PKG-INFO``. If you don't have that file or directory,
778781
then run ``python setup.py egg_info`` to have it generated.
779-
2. Run ``twine register dist/mypkg.whl``, and :ref:`twine` will register your project
780-
based on the package metadata in the specified files. Your ``~/.pypirc``
781-
must already be appropriately configured for twine to work.
782-
3. **(Not recommended):** Run ``python setup.py register``. If you don't have
782+
2. **(Not recommended):** Run ``python setup.py register``. If you don't have
783783
a user account already, a wizard will create one for you. This approach is
784784
covered here due to it being mentioned in other guides, but it is not
785785
recommended as it may use a plaintext HTTP or unverified HTTPS connection

0 commit comments

Comments
 (0)