Skip to content

Commit

Permalink
Update docs to recommend both server-login and pypi sections
Browse files Browse the repository at this point in the history
Update release docs to recommend both server-login and pypi sections

Testing Done:
pantsbuild#1815

Reviewed at https://rbcommons.com/s/twitter/r/2481/
  • Loading branch information
stuhood committed Jul 14, 2015
1 parent 5e0937f commit 3675520
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/python/pants/docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,15 @@ script fail:

- Configure your pypi credentials locally in `~/.pypirc`

This will do it:
For some versions of python it's necessary to use both a `server-login` and
`pypi` section containing the same info. This will do it:

:::bash
cat << EOF > ~/.pypirc && chmod 600 ~/.pypirc
[pypi]
username: <fill me in>
password: <fill me in>

[server-login]
username: <fill me in>
password: <fill me in>
Expand Down

0 comments on commit 3675520

Please sign in to comment.