File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ for those legacy environments.
29
29
First, ensure that ``setuptools_scm `` is present during the project's
30
30
built step by specifying it as one of the build requirements.
31
31
32
- .. code :: ini
32
+ .. code :: toml
33
33
34
34
# pyproject.toml
35
35
[build-system]
@@ -47,7 +47,7 @@ with those uses, consider also including a ``setup_requires`` directive
47
47
48
48
To enable version inference, add this section to your pyproject.toml:
49
49
50
- .. code :: ini
50
+ .. code :: toml
51
51
52
52
# pyproject.toml
53
53
[tools.setuptools_scm]
@@ -57,11 +57,11 @@ Including this section is comparable to supplying
57
57
include arbitrary keyword arguments in that section
58
58
to be supplied to ``get_version() ``. For example:
59
59
60
- .. code :: ini
60
+ .. code :: toml
61
61
62
62
# pyproject.toml
63
63
[tools.setuptools_scm]
64
- write_to = pkg/version.py
64
+ write_to = " pkg/version.py"
65
65
66
66
67
67
``setup.py `` usage
You can’t perform that action at this time.
0 commit comments