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 | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 29 | xunit |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 30 | json2fbbin |
| 31 | json2numpy |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 32 | tosa |
| 33 | serializer |
| 34 | package_dir = |
| 35 | = verif |
| 36 | xunit = scripts/xunit |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 37 | json2fbbin = scripts/json2fbbin |
| 38 | json2numpy = scripts/json2numpy |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 39 | tosa = thirdparty/serialization_lib/python/tosa |
| 40 | serializer = thirdparty/serialization_lib/python/serializer |
| 41 | |
| 42 | [options.entry_points] |
| 43 | console_scripts = |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 44 | tosa_verif_run_ref = runner.tosa_verif_run_tests:main |
| 45 | tosa_verif_run_tests = runner.tosa_verif_run_tests:main |
Jeremy Johnson | 2ec3494 | 2021-12-14 16:34:05 +0000 | [diff] [blame] | 46 | tosa_verif_build_tests = generator.tosa_verif_build_tests:main |
Jeremy Johnson | be1a940 | 2021-12-15 17:14:56 +0000 | [diff] [blame] | 47 | json2numpy = json2numpy.json2numpy:main |
| 48 | json2fbbin = json2fbbin.json2fbbin:main |
| 49 | tosa_verif_result_check = checker.tosa_result_checker:main |
| 50 | |
| 51 | [tool:pytest] |
| 52 | testpaths=verif/tests |
Jeremy Johnson | 5c1364c | 2022-01-13 15:04:21 +0000 | [diff] [blame^] | 53 | |
| 54 | [flake8] |
| 55 | ignore = D213, E203, E266, E501, W503 |
| 56 | max-line-length = 88 |
| 57 | select = B,E,F,W,T4 |
| 58 | exclude = .eggs |