Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GPG references from publishing tutorial #466

Merged
merged 1 commit into from
Apr 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions source/tutorials/distributing-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -911,24 +911,6 @@ registering the project.

twine upload dist/*


.. note:: Twine allows you to pre-sign your distribution files using gpg:

.. code-block:: text

gpg --detach-sign -a dist/package-1.0.1.tar.gz

and pass the gpg-created .asc files into the command line invocation:

.. code-block:: text

twine upload dist/package-1.0.1.tar.gz package-1.0.1.tar.gz.asc

This enables you to be assured that you're only ever typing your gpg
passphrase into gpg itself and not anything else since *you* will be
the one directly executing the ``gpg`` command.


You can see if your package has successfully uploaded by navigating to the URL
``https://pypi.org/project/<sampleproject>`` where ``sampleproject`` is
the name of your project that you uploaded. It may take a minute or two for
Expand Down