Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 1 | # 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] |
| 18 | name = "ethos-u-vela" |
| 19 | description = "Neural network model compiler for Arm Ethos-U NPUs" |
Rickard Bolin | b37a81b | 2023-09-29 12:48:29 +0000 | [diff] [blame] | 20 | requires-python = "~=3.9" |
Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 21 | authors = [{name = "Arm Ltd", email = "mlg-vela@arm.com"}] |
| 22 | license = {text= "Apache License 2.0"} |
| 23 | classifiers = [ |
| 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 Bolin | 8ea90ed | 2023-08-15 11:49:31 +0000 | [diff] [blame] | 31 | "Programming Language :: Python :: 3.10", |
Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 32 | "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| 33 | "Topic :: Software Development :: Compilers", |
| 34 | ] |
| 35 | keywords = ["ethos-u", "vela compiler", "tflite", "npu"] |
| 36 | dependencies = [ |
Rickard Bolin | b37a81b | 2023-09-29 12:48:29 +0000 | [diff] [blame] | 37 | "flatbuffers==23.5.26", |
| 38 | "numpy", |
Alexander Hansson | 8e74b57 | 2023-05-08 17:08:36 +0200 | [diff] [blame] | 39 | "lxml>=4.5.2" |
Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 40 | ] |
| 41 | dynamic = ["readme", "version"] |
| 42 | |
Raul Farkas | 430002d | 2023-03-15 10:15:42 +0000 | [diff] [blame] | 43 | [project.optional-dependencies] |
| 44 | dev = [ |
| 45 | "pytest", |
| 46 | "pytest-cov", |
| 47 | "pre-commit", |
| 48 | "build", |
Raul Farkas | 3e7d544 | 2023-05-04 12:43:08 +0100 | [diff] [blame] | 49 | "setuptools_scm[toml]~=7.1.0" |
Raul Farkas | 430002d | 2023-03-15 10:15:42 +0000 | [diff] [blame] | 50 | ] |
| 51 | |
Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 52 | [project.urls] |
Tim Hall | 2742947 | 2023-11-16 11:36:19 +0000 | [diff] [blame] | 53 | Homepage = "https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-vela" |
Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 54 | |
| 55 | [project.scripts] |
| 56 | vela = "ethosu.vela.vela:main" |
| 57 | |
| 58 | [build-system] |
| 59 | requires = [ |
Rickard Bolin | b37a81b | 2023-09-29 12:48:29 +0000 | [diff] [blame] | 60 | "numpy", |
Raul Farkas | 3e7d544 | 2023-05-04 12:43:08 +0100 | [diff] [blame] | 61 | "setuptools_scm[toml]~=7.1.0" |
Raul Farkas | 428a8d5 | 2023-01-16 16:52:18 +0000 | [diff] [blame] | 62 | ] |
Tim Hall | 762d3ac | 2023-07-06 11:42:02 +0100 | [diff] [blame] | 63 | build-backend = "setuptools.build_meta" |
| 64 | |
| 65 | [tool.pytest.ini_options] |
| 66 | minversion = "6.0" |
| 67 | addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] |
| 68 | xfail_strict = true |
| 69 | filterwarnings = ["error"] |
| 70 | testpaths = ["ethosu/mlw_codec/test", "ethosu/vela/test"] |