Skip to content

Commit 23f8a45

Browse files
Merge pull request #379 from mrg29/master
fix TOML examples
2 parents 76917be + dd843c8 commit 23f8a45

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for those legacy environments.
3030
First, ensure that ``setuptools_scm`` is present during the project's
3131
built 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

4949
To 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
5858
include arbitrary keyword arguments in that section
5959
to 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

0 commit comments

Comments
 (0)