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.
setup.py
1 parent 76e5a15 commit 527fadfCopy full SHA for 527fadf
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