blob: 140e8092185a52d95078ba51549b85e4a8211470 [file] [log] [blame]
Raul Farkas428a8d52023-01-16 16:52:18 +00001# SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
2#
3# SPDX-License-Identifier: Apache-2.0
4#
5# Licensed under the Apache License, Version 2.0 (the License); you may
6# not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an AS IS BASIS, WITHOUT
13# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17[project]
18name = "ethos-u-vela"
19description = "Neural network model compiler for Arm Ethos-U NPUs"
Rickard Bolinb37a81b2023-09-29 12:48:29 +000020requires-python = "~=3.9"
Raul Farkas428a8d52023-01-16 16:52:18 +000021authors = [{name = "Arm Ltd", email = "mlg-vela@arm.com"}]
22license = {text= "Apache License 2.0"}
23classifiers = [
24 "Development Status :: 5 - Production/Stable",
25 "Intended Audience :: Developers",
26 "License :: OSI Approved :: Apache Software License",
27 "Operating System :: POSIX :: Linux",
28 "Operating System :: Microsoft :: Windows :: Windows 10",
29 "Programming Language :: C",
30 "Programming Language :: Python :: 3",
Rickard Bolin8ea90ed2023-08-15 11:49:31 +000031 "Programming Language :: Python :: 3.10",
Raul Farkas428a8d52023-01-16 16:52:18 +000032 "Topic :: Scientific/Engineering :: Artificial Intelligence",
33 "Topic :: Software Development :: Compilers",
34]
35keywords = ["ethos-u", "vela compiler", "tflite", "npu"]
36dependencies = [
Rickard Bolinb37a81b2023-09-29 12:48:29 +000037 "flatbuffers==23.5.26",
38 "numpy",
Alexander Hansson8e74b572023-05-08 17:08:36 +020039 "lxml>=4.5.2"
Raul Farkas428a8d52023-01-16 16:52:18 +000040]
41dynamic = ["readme", "version"]
42
Raul Farkas430002d2023-03-15 10:15:42 +000043[project.optional-dependencies]
44dev = [
45 "pytest",
46 "pytest-cov",
47 "pre-commit",
48 "build",
Raul Farkas3e7d5442023-05-04 12:43:08 +010049 "setuptools_scm[toml]~=7.1.0"
Raul Farkas430002d2023-03-15 10:15:42 +000050]
51
Raul Farkas428a8d52023-01-16 16:52:18 +000052[project.urls]
Tim Hall27429472023-11-16 11:36:19 +000053Homepage = "https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-vela"
Raul Farkas428a8d52023-01-16 16:52:18 +000054
55[project.scripts]
56vela = "ethosu.vela.vela:main"
57
58[build-system]
59requires = [
Rickard Bolinb37a81b2023-09-29 12:48:29 +000060 "numpy",
Raul Farkas3e7d5442023-05-04 12:43:08 +010061 "setuptools_scm[toml]~=7.1.0"
Raul Farkas428a8d52023-01-16 16:52:18 +000062]
Tim Hall762d3ac2023-07-06 11:42:02 +010063build-backend = "setuptools.build_meta"
64
65[tool.pytest.ini_options]
66minversion = "6.0"
67addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
68xfail_strict = true
69filterwarnings = ["error"]
70testpaths = ["ethosu/mlw_codec/test", "ethosu/vela/test"]