Skip to content

Commit 70e3eb4

Browse files
authored
Bug fix pyproject.toml (#245)
[project.scripts] has to be used in pyproject.toml Without that, the tool cannot be used as cli tool --------- Signed-off-by: Andreas Fehlner <[email protected]>
1 parent 89c5fef commit 70e3eb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ keywords = [
1818
dependencies = [
1919
"onnx",
2020
]
21+
requires-python = ">= 3.10"
2122

2223
[project.urls]
2324
Homepage = 'https://github.com/onnx/optimizer'
2425

25-
[console_scripts]
26+
[project.scripts]
2627
onnxoptimizer = "onnxoptimizer:main"
2728

2829
[build-system]

0 commit comments

Comments
 (0)