blob: d383924ca954a26237f3a0249ea6299e296f46b9 [file] [log] [blame]
Xialin Liuda3b62f2024-06-28 11:33:41 -05001# Poetry pyproject.toml: https://python-poetry.org/docs/pyproject/
2[build-system]
3requires = ["poetry_core>=1.0.0"]
4build-backend = "poetry.core.masonry.api"
5
6[tool.poetry]
7name = "cot_dt2c"
8version = "0.1.0"
9description = "CoT-dt2c Tool is a python script to convert CoT DT file into corresponding C file"
10authors = ["Arm Ltd <tf-a@lists.trustedfirmware.org>"]
11license = "BSD-3"
12repository = "https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/"
13homepage = "https://trustedfirmware-a.readthedocs.io/en/latest/index.html"
14
15# Pypi classifiers: https://pypi.org/classifiers/
16classifiers = [
17 "Development Status :: 3 - Alpha",
18 "Intended Audience :: Developers",
19 "Operating System :: OS Independent",
20 "Topic :: Software Development :: Libraries :: Python Modules",
21 "License :: OSI Approved :: BSD License",
22 "Programming Language :: Python :: 3",
23 "Programming Language :: Python :: 3.8",
24 "Programming Language :: Python :: 3.9",
25]
26
27
28[tool.poetry.dependencies]
29python = "^3.8"
30click = "^8.1.7"
31pyparsing = "^2.4.7"
32plotly = "^5.23.0"
33pandas = "^2.2.2"
34igraph = "^0.11.6"
35
36[tool.poetry.dev-dependencies]
37mypy = "^0.910"
38pytest = "^6.2.5"
39pyparsing = "^2.4.7"
40plotly = "^5.23.0"
41pandas = "^2.2.2"
42igraph = "^0.11.6"
43
44[tool.mypy]
45# https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
46python_version = 3.8
47pretty = true
48show_traceback = true
49color_output = true
50
51[tool.coverage.run]
52source = ["tests"]
53
54[coverage.paths]
55source = "cot_dt2c"
56
57[tool.poetry.scripts]
58# Entry points for the package https://python-poetry.org/docs/pyproject/#scripts
59# "cot-dt2c" = "cot_dt2c.__main__:cli"
60"cot-dt2c" = "cot_dt2c.__main__:cli"