blob: 642ed94e4a222c55edafbc23dd147fa17c9883d5 [file] [log] [blame]
Jeremy Johnson977ee352024-02-27 13:47:52 +00001# Copyright (c) 2021-2024 Arm Limited.
Jeremy Johnson2ec34942021-12-14 16:34:05 +00002# 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 =
Jeremy Johnson977ee352024-02-27 13:47:52 +000022 numpy
Eric Kunzec1e13432023-07-24 21:09:48 +000023 flatbuffers == 23.5.26
Jeremy Johnson77fc6142023-09-04 17:04:21 +010024 jsonschema
Jeremy Johnson2ec34942021-12-14 16:34:05 +000025python_requires = >=3.6
Jeremy Johnson5a30f9b2022-07-18 11:54:27 +010026include_package_data = True
Jeremy Johnson2ec34942021-12-14 16:34:05 +000027packages =
28 runner
29 generator
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000030 checker
Jeremy Johnson015c3552022-02-23 12:15:03 +000031 frameworks
Jeremy Johnson6c6467f2022-05-17 15:30:56 +010032 tests
Jeremy Johnson0ecfa372022-06-30 14:27:56 +010033 conformance
Jeremy Johnson2ec34942021-12-14 16:34:05 +000034 xunit
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000035 json2fbbin
36 json2numpy
Jeremy Johnson77fc6142023-09-04 17:04:21 +010037 schemavalidation
Jeremy Johnsonfcc09142022-01-19 17:26:46 +000038 convert2conformance
Jeremy Johnson2ec34942021-12-14 16:34:05 +000039 tosa
40 serializer
41package_dir =
42 = verif
43 xunit = scripts/xunit
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000044 json2fbbin = scripts/json2fbbin
45 json2numpy = scripts/json2numpy
Jeremy Johnsonfcc09142022-01-19 17:26:46 +000046 convert2conformance = scripts/convert2conformance
Jeremy Johnson2ec34942021-12-14 16:34:05 +000047 tosa = thirdparty/serialization_lib/python/tosa
48 serializer = thirdparty/serialization_lib/python/serializer
Jeremy Johnson77fc6142023-09-04 17:04:21 +010049 schemavalidation = scripts/schemavalidation
Jeremy Johnson2ec34942021-12-14 16:34:05 +000050
51[options.entry_points]
52console_scripts =
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000053 tosa_verif_run_ref = runner.tosa_verif_run_tests:main
54 tosa_verif_run_tests = runner.tosa_verif_run_tests:main
Jeremy Johnson2ec34942021-12-14 16:34:05 +000055 tosa_verif_build_tests = generator.tosa_verif_build_tests:main
Jeremy Johnson77fc6142023-09-04 17:04:21 +010056 tosa_json2numpy = json2numpy.json2numpy:main
57 tosa_json2fbbin = json2fbbin.json2fbbin:main
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000058 tosa_verif_result_check = checker.tosa_result_checker:main
Jeremy Johnson77fc6142023-09-04 17:04:21 +010059 tosa_convert2conformance = convert2conformance.convert2conformance:main
Jeremy Johnson015c3552022-02-23 12:15:03 +000060 tosa_verif_framework_generator = frameworks.tosa_verif_framework_generator:main
61 tosa_verif_framework_compiler_runner = frameworks.tosa_verif_framework_compiler_runner:main
Jeremy Johnson0ecfa372022-06-30 14:27:56 +010062 tosa_verif_conformance_generator = conformance.tosa_verif_conformance_generator:main
Jeremy Johnson77fc6142023-09-04 17:04:21 +010063 tosa_schemavalidation = schemavalidation.schemavalidation:main
64
65[options.package_data]
66schemavalidation=
67 *.schema.json
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000068
69[tool:pytest]
70testpaths=verif/tests
Jeremy Johnson00423432022-09-12 17:27:37 +010071markers =
72 postcommit: marks tests for post commit testing on CI as part of the review
Jeremy Johnson5c1364c2022-01-13 15:04:21 +000073
74[flake8]
75ignore = D213, E203, E266, E501, W503
76max-line-length = 88
77select = B,E,F,W,T4
78exclude = .eggs