Skip to content

Commit

Permalink
Switching to twine upload for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorris3 committed Sep 2, 2017
1 parent c40ec58 commit d65933a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/development/affiliated-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -613,13 +613,12 @@ by ``CHANGES.md`` in the instructions.
all pass, you can proceed on.

#. If you did the previous step, do ``git clean -fxd`` again to remove anything
you made there. Then either release with::
you made there. Then you can upload to PyPI via ``twine``::

python setup.py register build sdist --format=gztar upload
twine upload dist/*

or, if you are concerned about security, you can also use ``twine`` as described
in `these <https://packaging.python.org/en/latest/tutorial.html#uploading-your-project-to-pypi>`_
instructions. Either way, check that the entry on PyPI is correct, and that
as described in `these <https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi>`_
instructions. Check that the entry on PyPI is correct, and that
the tarfile is present.

#. Go back to the master branch and push your changes to github::
Expand Down

0 comments on commit d65933a

Please sign in to comment.