Skip to content

Commit 9f65d96

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
setup: add extras for toml and yaml
The toml extra declares we optionally depend on tomli on python versions older than Python 3.11. The yaml extra declares we optionally depend on PyYAML. Signed-off-by: John Mulligan <[email protected]>
1 parent f4ef895 commit 9f65d96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ share/sambacc/examples =
3131
[options.extras_require]
3232
validation =
3333
jsonschema>=4.10
34+
yaml =
35+
PyYAML>=5.4
36+
toml =
37+
tomli;python_version<"3.11"

0 commit comments

Comments
 (0)