Skip to content

Commit 12b38c4

Browse files
authored
Fix broken links to setup.py and .cfg (#1172)
1 parent 04a155a commit 12b38c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/guides/distributing-packages-using-setuptools.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ setup.py
5959

6060
The most important file is :file:`setup.py` which exists at the root of your
6161
project directory. For an example, see the `setup.py
62-
<https://github.com/pypa/sampleproject/blob/main/setup.py>`_ in the `PyPA
62+
<https://github.com/pypa/sampleproject/blob/db5806e0a3204034c51b1c00dde7d5eb3fa2532e/setup.py>`_ in the `PyPA
6363
sample project <https://github.com/pypa/sampleproject>`_.
6464

6565
:file:`setup.py` serves two primary functions:
@@ -80,7 +80,7 @@ setup.cfg
8080

8181
:file:`setup.cfg` is an ini file that contains option defaults for
8282
:file:`setup.py` commands. For an example, see the `setup.cfg
83-
<https://github.com/pypa/sampleproject/blob/main/setup.cfg>`_ in the `PyPA
83+
<https://github.com/pypa/sampleproject/blob/db5806e0a3204034c51b1c00dde7d5eb3fa2532e/setup.cfg>`_ in the `PyPA
8484
sample project <https://github.com/pypa/sampleproject>`_.
8585

8686

@@ -157,7 +157,7 @@ specific details of your project are defined.
157157

158158
The most relevant arguments are explained below. Most of the snippets given are
159159
taken from the `setup.py
160-
<https://github.com/pypa/sampleproject/blob/main/setup.py>`_ contained in the
160+
<https://github.com/pypa/sampleproject/blob/db5806e0a3204034c51b1c00dde7d5eb3fa2532e/setup.py>`_ contained in the
161161
`PyPA sample project <https://github.com/pypa/sampleproject>`_.
162162

163163

@@ -669,7 +669,7 @@ Working in "development mode"
669669
You can install a project in "editable"
670670
or "develop" mode while you're working on it.
671671
When installed as editable, a project can be
672-
edited in-place without reinstallation:
672+
edited in-place without reinstallation:
673673
changes to Python source files in projects installed as editable will be reflected the next time an interpreter process is started.
674674

675675
To install a Python package in "editable"/"development" mode

0 commit comments

Comments
 (0)