Skip to content

Commit

Permalink
Point pip's setup.py link to its latest version
Browse files Browse the repository at this point in the history
This file no longer exists on the `main` branch as of
pypa/pip#12537 /
pypa/pip@0ad4c94b.
  • Loading branch information
webknjaz committed Feb 29, 2024
1 parent 76e5a15 commit 527fadf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/guides/single-sourcing-package-version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://github.com/pypa/pip/blob/003c7ac/setup.py>`_)::

import codecs
import os.path
Expand Down

0 comments on commit 527fadf

Please sign in to comment.