-
Notifications
You must be signed in to change notification settings - Fork 194
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (46 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
53 lines (46 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[build-system]
requires = [
"setuptools>=42",
"wheel",
"cmake>=3.16",
"setuptools-scm",
"paddlepaddle==3.0.0.dev20250426",
]
build-backend = "setuptools.build_meta"
[project]
name = "paddle2onnx"
dynamic = ["version"]
description = "Export PaddlePaddle to ONNX"
readme = "README.md"
authors = [
{name = "paddle-infer", email = "paddle-infer@baidu.com"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
license = {text = "Apache License v2.0"}
requires-python = ">=3.8"
dependencies = [
"onnx>=1.16.1,<=1.17.0",
"onnxoptimizer==0.3.13; python_version < '3.12'",
"polygraphy>=0.49.20",
]
[project.scripts]
paddle2onnx = "paddle2onnx.command:main"
[tool.setuptools.dynamic]
version = {file = "VERSION_NUMBER"}
[tool.setuptools.packages.find]
include = ["paddle2onnx*"]
[tool.setuptools.exclude-package-data]
"*" = ["*.h", "*.cc", "*.bak", "*.in"]
[tool.setuptools_scm]
write_to = "paddle2onnx/version.py"
[tool.mypy]
files = "setup.py"
python_version = "3.8"
strict = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true