forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (41 loc) · 1.01 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "executorch"
version = "0.1.0"
# Python dependencies required for development
dependencies=[
"expecttest",
"flatbuffers",
"hypothesis",
"numpy",
"packaging",
"pandas",
"parameterized",
"pytest",
"pytest-xdist",
"pyyaml",
"ruamel.yaml",
"sympy",
"tabulate",
]
# Tell setuptools to generate commandline wrappers for tools that we install
# under data/bin in the pip package. This will put these commands on the user's
# path.
[project.scripts]
flatc = "executorch.data.bin:flatc"
[tool.setuptools.package-data]
# TODO(dbort): Prune /test[s]/ dirs, /third-party/ dirs, yaml files that we
# don't need.
"*" = [
# Some backends like XNNPACK need their .fbs files.
"*.fbs",
# Some kernel libraries need their .yaml files.
"*.yaml",
]
[tool.setuptools.exclude-package-data]
"*" = ["*.pyc"]
[tool.usort]
# Do not try to put "first-party" imports in their own section.
first_party_detection = false