Skip to content

Commit 00ca248

Browse files
committed
Add some instructions
1 parent d32b426 commit 00ca248

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

CONTRIBUTING.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,38 @@ Prerequisites
205205
Perform a Release
206206
~~~~~~~~~~~~~~~~~
207207

208+
#. Install keyring
209+
210+
Make sure that `keyring <https://pypi.org/project/keyring/>`__ is available on your path.
211+
212+
E.g.:
213+
214+
.. code:: sh
215+
216+
curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python
217+
pipsi install keyring
218+
219+
#. Set up PyPI credentials
220+
221+
Register at `PyPI <https://pypi.org>`__.
222+
223+
Add the following information to ``~/.pypirc``.
224+
225+
.. code:: ini
226+
227+
[distutils]
228+
index-servers=
229+
pypi
230+
231+
[pypi]
232+
username = <Your PyPI username>
233+
234+
Store your PyPI password:
235+
236+
.. code:: sh
237+
238+
keyring set https://upload.pypi.org/legacy/ <Your PyPI username>
239+
208240
#. Get a GitHub access token:
209241

210242
Follow the `GitHub instructions <https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/>`__ for getting an access token.

0 commit comments

Comments
 (0)