Skip to content

Commit 840474d

Browse files
Update source/single_source_version.rst
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 8529ada commit 840474d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/single_source_version.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Single-sourcing the Project Version
99

1010
One of the challenges in building packages is that the version string can be required in multiple places.
1111

12-
* It needs to be specified when building the package (e.g. in :file:``pyproject.toml``)
12+
* It needs to be specified when building the package (e.g. in :file:`pyproject.toml`)
1313
- That will assure that it is properly assigned in the distribution file name, and in the installed package metadata.
1414

1515
* A package may set a top level ``__version__`` attribute to provide runtime access to the version of the installed package. If this is done, the value of ``__version__`` attribute and that used by the build system to set the distribution's version should be kept in sync in :ref:`the build systems's recommended way <how_to_set_version_links>`.

0 commit comments

Comments
 (0)