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