File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ for those legacy environments.
3030First, ensure that ``setuptools_scm `` is present during the project's
3131built step by specifying it as one of the build requirements.
3232
33- .. code :: ini
33+ .. code :: toml
3434
3535 # pyproject.toml
3636 [build-system]
@@ -48,7 +48,7 @@ with those uses, consider also including a ``setup_requires`` directive
4848
4949To enable version inference, add this section to your pyproject.toml:
5050
51- .. code :: ini
51+ .. code :: toml
5252
5353 # pyproject.toml
5454 [tool.setuptools_scm]
@@ -58,11 +58,12 @@ Including this section is comparable to supplying
5858include arbitrary keyword arguments in that section
5959to be supplied to ``get_version() ``. For example:
6060
61- .. code :: ini
61+ .. code :: toml
6262
6363 # pyproject.toml
64+
6465 [tool.setuptools_scm]
65- write_to = pkg/version.py
66+ write_to = " pkg/version.py"
6667
6768
6869 ``setup.py `` usage
You can’t perform that action at this time.
0 commit comments