-
Notifications
You must be signed in to change notification settings - Fork 173
/
pyproject.toml
48 lines (41 loc) · 1.08 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"cmake>=3.16",
"setuptools-scm"
]
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 = []
[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