We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9218401 + 527fadf commit 63993baCopy full SHA for 63993ba
source/guides/single-sourcing-package-version.rst
@@ -9,7 +9,8 @@ Single-sourcing the package version
9
There are many techniques to maintain a single source of truth for the version
10
number of your project:
11
12
-#. 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
13
+ <https://github.com/pypa/pip/blob/003c7ac/setup.py>`_)::
14
15
import codecs
16
import os.path
0 commit comments