Skip to content

Commit

Permalink
Merge pull request #1514 from webknjaz/maintenance/pip-setup.py-older…
Browse files Browse the repository at this point in the history
…-commit

Point pip's `setup.py` link to its latest version
  • Loading branch information
webknjaz authored Feb 29, 2024
2 parents 9218401 + 527fadf commit 63993ba
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 63993ba

Please sign in to comment.