forked from dijopaul/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (86 loc) · 2.72 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = [
"cmake", # For building binary targets in the wheel.
"pyyaml", # Imported by the kernel codegen tools.
"setuptools>=63", # For building the pip package contents.
"tomli", # Imported by extract_sources.py when using python < 3.11.
"wheel", # For building the pip package archive.
"zstd", # Imported by resolve_buck.py.
]
build-backend = "setuptools.build_meta"
[project]
name = "executorch"
dynamic = [
# setup.py will set the version.
'version',
]
description = "On-device AI across mobile, embedded and edge for PyTorch"
readme = "README-wheel.md"
authors = [
{name="PyTorch Team", email="[email protected]"},
]
license = {file = "LICENSE"}
keywords = ["pytorch", "machine learning"]
# PyPI package information.
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
# Update this as we support more versions of python.
"Programming Language :: Python :: 3.10",
]
# Python dependencies required for use.
dependencies=[
"expecttest",
"flatbuffers",
"hypothesis",
"numpy>=1.25.2",
"packaging",
"pandas",
"parameterized",
"pytest",
"pytest-xdist",
"pyyaml",
"ruamel.yaml",
"sympy",
"tabulate",
]
[project.urls]
# The keys are arbitrary but will be visible on PyPI.
Homepage = "https://pytorch.org/executorch/"
Repository = "https://github.com/pytorch/executorch"
Issues = "https://github.com/pytorch/executorch/issues"
Changelog = "https://github.com/pytorch/executorch/releases"
# 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