Skip to content

Commit 527fadf

Browse files
committed
Point pip's setup.py link to its latest version
This file no longer exists on the `main` branch as of pypa/pip#12537 / pypa/pip@0ad4c94b.
1 parent 76e5a15 commit 527fadf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/guides/single-sourcing-package-version.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Single-sourcing the package version
99
There are many techniques to maintain a single source of truth for the version
1010
number of your project:
1111

12-
#. Read the file in :file:`setup.py` and get the version. Example::
12+
#. Read the file in :file:`setup.py` and get the version. Example (from `pip setup.py
13+
<https://github.com/pypa/pip/blob/003c7ac/setup.py>`_)::
1314

1415
import codecs
1516
import os.path

0 commit comments

Comments
 (0)