Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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