blob: 4e3dc1018ba580fc724ddbbf477bd23e88662608 [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
23 flatbuffers == 2.0
24python_requires = >=3.6
25packages =
26 runner
27 generator
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000028 checker
Jeremy Johnson2ec34942021-12-14 16:34:05 +000029 xunit
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000030 json2fbbin
31 json2numpy
Jeremy Johnson2ec34942021-12-14 16:34:05 +000032 tosa
33 serializer
34package_dir =
35 = verif
36 xunit = scripts/xunit
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000037 json2fbbin = scripts/json2fbbin
38 json2numpy = scripts/json2numpy
Jeremy Johnson2ec34942021-12-14 16:34:05 +000039 tosa = thirdparty/serialization_lib/python/tosa
40 serializer = thirdparty/serialization_lib/python/serializer
41
42[options.entry_points]
43console_scripts =
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000044 tosa_verif_run_ref = runner.tosa_verif_run_tests:main
45 tosa_verif_run_tests = runner.tosa_verif_run_tests:main
Jeremy Johnson2ec34942021-12-14 16:34:05 +000046 tosa_verif_build_tests = generator.tosa_verif_build_tests:main
Jeremy Johnsonbe1a9402021-12-15 17:14:56 +000047 json2numpy = json2numpy.json2numpy:main
48 json2fbbin = json2fbbin.json2fbbin:main
49 tosa_verif_result_check = checker.tosa_result_checker:main
50
51[tool:pytest]
52testpaths=verif/tests
Jeremy Johnson5c1364c2022-01-13 15:04:21 +000053
54[flake8]
55ignore = D213, E203, E266, E501, W503
56max-line-length = 88
57select = B,E,F,W,T4
58exclude = .eggs