Skip to content

Commit

Permalink
doc: Re-add "Setting up environment" section to "How to Make a Release"
Browse files Browse the repository at this point in the history
This section was inadvertently removed in 8a0bf81
  • Loading branch information
jcfr committed Jul 27, 2018
1 parent 46c7833 commit 9955d7f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/source/make_a_release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,34 @@ Commands to evaluate starts with a dollar sign. For example::

means that ``echo "Hello"`` should be copied and evaluated in the terminal.

----------------------
Setting up environment
----------------------

1. First, `register for an account on PyPI <https://pypi.org>`_.


2. If not already the case, ask to be added as a ``Package Index Maintainer``.


3. Create a ``~/.pypirc`` file with your login credentials::

[distutils]
index-servers =
pypi
pypitest

[pypi]
username=<your-username>
password=<your-password>

[pypitest]
repository=https://test.pypi.org/legacy/
username=<your-username>
password=<your-password>

where ``<your-username>`` and ``<your-password>`` correspond to your PyPI account.


------------------
PyPI: Step-by-step
Expand Down

0 comments on commit 9955d7f

Please sign in to comment.