From 527fadf228812a4ec3780a69134b4e30d90d3e3f Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 29 Feb 2024 19:42:31 +0100 Subject: [PATCH] Point pip's `setup.py` link to its latest version This file no longer exists on the `main` branch as of https://github.com/pypa/pip/pull/12537 / https://github.com/pypa/pip/commit/0ad4c94b. --- source/guides/single-sourcing-package-version.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/guides/single-sourcing-package-version.rst b/source/guides/single-sourcing-package-version.rst index e300fa8f7..5c8af21e0 100644 --- a/source/guides/single-sourcing-package-version.rst +++ b/source/guides/single-sourcing-package-version.rst @@ -9,7 +9,8 @@ Single-sourcing the package version There are many techniques to maintain a single source of truth for the version number of your project: -#. Read the file in :file:`setup.py` and get the version. Example:: +#. Read the file in :file:`setup.py` and get the version. Example (from `pip setup.py + `_):: import codecs import os.path