Skip to content

Commit

Permalink
Update source/discussions/single-source-version.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Anderson Bravalheri <[email protected]>
  • Loading branch information
ChrisBarker-NOAA and abravalheri authored Aug 22, 2024
1 parent c335757 commit b35bd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/discussions/single-source-version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In general, the options are:

2) The version can be hard-coded into the :file:`pyproject.toml` file -- and the build system can copy it into other locations it may be required.

3) The version string can be hard-coded into the source code -- either in a special purpose file, such as :file:`_version.txt`, or as a attribute in the :file:`__init__.py`, and the build system can extract it at build time.
3) The version string can be hard-coded into the source code -- either in a special purpose file, such as :file:`_version.txt`, or as a attribute in a module, such as :file:`__init__.py`, and the build system can extract it at build time.


Consult your build system's documentation for their recommended method.
Expand Down

0 comments on commit b35bd14

Please sign in to comment.