Skip to content

Commit 96cc6eb

Browse files
committed
add tool.poetry packages section to pyproject.toml (backwards compatibility; e.g. with CI)
1 parent 0fa1522 commit 96cc6eb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ tf = [
5454
"tensorflow-io-gcs-filesystem; platform_system != 'Windows'",
5555
]
5656

57+
[dependency-groups]
58+
dev = [
59+
"pytest",
60+
"black",
61+
"ruff",
62+
]
63+
64+
# Keep compatibility with Poetry
65+
# (without this section, Poetry assumes the wrong root directory of the project)
66+
[tool.poetry]
67+
packages = [
68+
{ include = "dlclive" }
69+
]
70+
5771
[project.scripts]
5872
dlc-live-test = "dlclive.check_install.check_install:main"
5973
dlc-live-benchmark = "dlclive.benchmark:main"

0 commit comments

Comments
 (0)