aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 7a6026c7f1441de32f3d266bee25506e41bb5757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright (c) 2021-2022 Arm Limited.
# SPDX-License-Identifier: Apache-2.0

[metadata]
name = tosa-tools
# version = done by setuptools_scm in pyproject.toml
author = Arm Limited
#author_email =
description = TOSA tools
long_description = file: README.md
long_description_content_type = text/markdown
url = https://git.mlplatform.org/tosa/reference_model.git/
project_urls =
    Website = https://developer.mlplatform.org/w/tosa/
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: Apache Software License
    Operating System :: OS Independent

[options]
install_requires =
    numpy
    flatbuffers == 2.0
python_requires = >=3.6
packages =
    runner
    generator
    checker
    frameworks
    xunit
    json2fbbin
    json2numpy
    convert2conformance
    tosa
    serializer
package_dir =
    = verif
    xunit = scripts/xunit
    json2fbbin = scripts/json2fbbin
    json2numpy = scripts/json2numpy
    convert2conformance = scripts/convert2conformance
    tosa = thirdparty/serialization_lib/python/tosa
    serializer = thirdparty/serialization_lib/python/serializer

[options.entry_points]
console_scripts =
    tosa_verif_run_ref = runner.tosa_verif_run_tests:main
    tosa_verif_run_tests = runner.tosa_verif_run_tests:main
    tosa_verif_build_tests = generator.tosa_verif_build_tests:main
    json2numpy = json2numpy.json2numpy:main
    json2fbbin = json2fbbin.json2fbbin:main
    tosa_verif_result_check = checker.tosa_result_checker:main
    convert2conformance = convert2conformance.convert2conformance:main
    tosa_verif_framework_generator = frameworks.tosa_verif_framework_generator:main
    tosa_verif_framework_compiler_runner = frameworks.tosa_verif_framework_compiler_runner:main

[tool:pytest]
testpaths=verif/tests

[flake8]
ignore = D213, E203, E266, E501, W503
max-line-length = 88
select = B,E,F,W,T4
exclude = .eggs