Skip to content

Commit f3bbb2c

Browse files
authored
Merge pull request #740 from bhrutledge/chmod-pypirc
Recommend permissions for .pypirc
2 parents 86c0641 + d20878e commit f3bbb2c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

source/specifications/pypirc.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ Each section describing a repository defines three fields:
4444
consider an alternative like `keyring`_, setting environment variables, or
4545
providing the password on the command line.
4646

47+
Otherwise, set the permissions on :file:`.pypirc` so that only you can view
48+
or modify it. For example, on Linux or macOS, run:
49+
50+
.. code-block:: bash
51+
52+
chmod 600 ~/.pypirc
53+
4754
.. _keyring: https://pypi.org/project/keyring/
4855

4956
Common configurations

0 commit comments

Comments
 (0)