blob: 6420a4090b25ee7cb9981e0e8e6b8bd27208d28b [file] [log] [blame]
Jeremy Johnson2ec34942021-12-14 16:34:05 +00001# Copyright (c) 2021-2022 Arm Limited.
2# SPDX-License-Identifier: Apache-2.0
3
4[metadata]
5name = tosa-tools
6# version = done by setuptools_scm in pyproject.toml
7author = Arm Limited
8#author_email =
9description = TOSA tools
10long_description = file: README.md
11long_description_content_type = text/markdown
12url = https://git.mlplatform.org/tosa/reference_model.git/
13project_urls =
14 Website = https://developer.mlplatform.org/w/tosa/
15classifiers =
16 Programming Language :: Python :: 3
17 License :: OSI Approved :: Apache Software License
18 Operating System :: OS Independent
19
20[options]
21install_requires =
22 numpy
Eric Kunze39ad9392022-06-06 11:06:23 -070023 flatbuffers == 1.12
Jeremy Johnson2ec34942021-12-14 16:34:05 +000024python_requires = >=3.6
25packages =
26 runner
27 generator
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000028 checker
Jeremy Johnson015c3552022-02-23 12:15:03 +000029 frameworks
Jeremy Johnson6c6467f2022-05-17 15:30:56 +010030 tests
Jeremy Johnson2ec34942021-12-14 16:34:05 +000031 xunit
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000032 json2fbbin
33 json2numpy
Jeremy Johnsonfcc09142022-01-19 17:26:46 +000034 convert2conformance
Jeremy Johnson2ec34942021-12-14 16:34:05 +000035 tosa
36 serializer
37package_dir =
38 = verif
39 xunit = scripts/xunit
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000040 json2fbbin = scripts/json2fbbin
41 json2numpy = scripts/json2numpy
Jeremy Johnsonfcc09142022-01-19 17:26:46 +000042 convert2conformance = scripts/convert2conformance
Jeremy Johnson2ec34942021-12-14 16:34:05 +000043 tosa = thirdparty/serialization_lib/python/tosa
44 serializer = thirdparty/serialization_lib/python/serializer
45
46[options.entry_points]
47console_scripts =
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000048 tosa_verif_run_ref = runner.tosa_verif_run_tests:main
49 tosa_verif_run_tests = runner.tosa_verif_run_tests:main
Jeremy Johnson2ec34942021-12-14 16:34:05 +000050 tosa_verif_build_tests = generator.tosa_verif_build_tests:main
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000051 json2numpy = json2numpy.json2numpy:main
52 json2fbbin = json2fbbin.json2fbbin:main
53 tosa_verif_result_check = checker.tosa_result_checker:main
Jeremy Johnson6179c212022-01-13 13:46:35 +000054 convert2conformance = convert2conformance.convert2conformance:main
Jeremy Johnson015c3552022-02-23 12:15:03 +000055 tosa_verif_framework_generator = frameworks.tosa_verif_framework_generator:main
56 tosa_verif_framework_compiler_runner = frameworks.tosa_verif_framework_compiler_runner:main
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000057
58[tool:pytest]
59testpaths=verif/tests
Jeremy Johnson5c1364c2022-01-13 15:04:21 +000060
61[flake8]
62ignore = D213, E203, E266, E501, W503
63max-line-length = 88
64select = B,E,F,W,T4
65exclude = .eggs