Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 1 | # Copyright (c) 2021-2022 Arm Limited. |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | [metadata] |
| 5 | name = tosa-tools |
| 6 | # version = done by setuptools_scm in pyproject.toml |
| 7 | author = Arm Limited |
| 8 | #author_email = |
| 9 | description = TOSA tools |
| 10 | long_description = file: README.md |
| 11 | long_description_content_type = text/markdown |
| 12 | url = https://git.mlplatform.org/tosa/reference_model.git/ |
| 13 | project_urls = |
| 14 | Website = https://developer.mlplatform.org/w/tosa/ |
| 15 | classifiers = |
| 16 | Programming Language :: Python :: 3 |
| 17 | License :: OSI Approved :: Apache Software License |
| 18 | Operating System :: OS Independent |
| 19 | |
| 20 | [options] |
| 21 | install_requires = |
| 22 | numpy |
| 23 | flatbuffers == 2.0 |
| 24 | python_requires = >=3.6 |
| 25 | packages = |
| 26 | runner |
| 27 | generator |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 28 | checker |
Jeremy Johnson | 015c355 | 2022-02-23 12:15:03 +0000 | [diff] [blame] | 29 | frameworks |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 30 | xunit |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 31 | json2fbbin |
| 32 | json2numpy |
Jeremy Johnson | fcc0914 | 2022-01-19 17:26:46 +0000 | [diff] [blame] | 33 | convert2conformance |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 34 | tosa |
| 35 | serializer |
| 36 | package_dir = |
| 37 | = verif |
| 38 | xunit = scripts/xunit |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 39 | json2fbbin = scripts/json2fbbin |
| 40 | json2numpy = scripts/json2numpy |
Jeremy Johnson | fcc0914 | 2022-01-19 17:26:46 +0000 | [diff] [blame] | 41 | convert2conformance = scripts/convert2conformance |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 42 | tosa = thirdparty/serialization_lib/python/tosa |
| 43 | serializer = thirdparty/serialization_lib/python/serializer |
| 44 | |
| 45 | [options.entry_points] |
| 46 | console_scripts = |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 47 | tosa_verif_run_ref = runner.tosa_verif_run_tests:main |
| 48 | tosa_verif_run_tests = runner.tosa_verif_run_tests:main |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 49 | tosa_verif_build_tests = generator.tosa_verif_build_tests:main |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 50 | json2numpy = json2numpy.json2numpy:main |
| 51 | json2fbbin = json2fbbin.json2fbbin:main |
| 52 | tosa_verif_result_check = checker.tosa_result_checker:main |
Jeremy Johnson | 6179c21 | 2022-01-13 13:46:35 +0000 | [diff] [blame] | 53 | convert2conformance = convert2conformance.convert2conformance:main |
Jeremy Johnson | 015c355 | 2022-02-23 12:15:03 +0000 | [diff] [blame] | 54 | tosa_verif_framework_generator = frameworks.tosa_verif_framework_generator:main |
| 55 | tosa_verif_framework_compiler_runner = frameworks.tosa_verif_framework_compiler_runner:main |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 56 | |
| 57 | [tool:pytest] |
| 58 | testpaths=verif/tests |
Jeremy Johnson | 5c1364c | 2022-01-13 15:04:21 +0000 | [diff] [blame] | 59 | |
| 60 | [flake8] |
| 61 | ignore = D213, E203, E266, E501, W503 |
| 62 | max-line-length = 88 |
| 63 | select = B,E,F,W,T4 |
| 64 | exclude = .eggs |