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.
30
30
First, ensure that ``setuptools_scm `` is present during the project's
31
31
built step by specifying it as one of the build requirements.
32
32
33
- .. code :: ini
33
+ .. code :: toml
34
34
35
35
# pyproject.toml
36
36
[build-system]
@@ -48,7 +48,7 @@ with those uses, consider also including a ``setup_requires`` directive
48
48
49
49
To enable version inference, add this section to your pyproject.toml:
50
50
51
- .. code :: ini
51
+ .. code :: toml
52
52
53
53
# pyproject.toml
54
54
[tool.setuptools_scm]
@@ -58,11 +58,12 @@ Including this section is comparable to supplying
58
58
include arbitrary keyword arguments in that section
59
59
to be supplied to ``get_version() ``. For example:
60
60
61
- .. code :: ini
61
+ .. code :: toml
62
62
63
63
# pyproject.toml
64
+
64
65
[tool.setuptools_scm]
65
- write_to = pkg/version.py
66
+ write_to = " pkg/version.py"
66
67
67
68
68
69
``setup.py `` usage
You can’t perform that action at this time.
0 commit comments