-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (88 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
103 lines (88 loc) · 2.25 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
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
94
95
96
97
98
99
100
101
102
103
# SPDX-FileCopyrightText: Copyright 2025 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License v2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for license information.
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61", "wheel"]
[project]
name = "pte-adapter-model-explorer"
version = "0.1.1"
description = "Adapter for Model Explorer to support PTE files for Ethos-U and VGF targets"
readme = "README.md"
requires-python = ">=3.10,<3.13"
keywords = ["model-explorer", "ethos", "pte", "visualization"]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"ai-edge-model-explorer>=0.1.28,<0.2.0",
"vgf-adapter-model-explorer == 0.4.1",
"tosa-adapter-model-explorer == 0.1.0",
"flatbuffers>25.9"
]
[project.urls]
Repository = "https://github.com/arm/pte-adapter-model-explorer"
[dependency-groups]
dev = [
"pytest==9.0.1",
"pytest-timeout==2.4.0",
"ruff==0.14.2",
"pyright==1.1.407",
"ai-edge-model-explorer==0.1.28",
]
coverage = [
"pytest-cov==7.0.0",
]
build = [
"build==1.3.0"
]
[tool.pyright]
include = [
"src",
]
exclude = [
"src/pte_adapter_model_explorer/executorch_flatbuffer",
]
typeCheckingMode = "standard"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"pte_adapter_model_explorer" = [
"schema/*.fbs",
"schema/LICENSE",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["src/pte_adapter_model_explorer/tests"]
[tool.ruff]
line-length = 79
target-version = "py312"
exclude = ["build", "src/pte_adapter_model_explorer/executorch_flatbuffer"]
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"F", #Pyflakes
"B", #Bugbear
"I", #Isort
"SIM", #Simplify
"C4", #Comprehensions
]
[tool.coverage.run]
omit = [
"*/test_*",
"*/config.py",
"*/__init__.py",
"*/executorch_flatbuffer/*",
]